[−][src]Function i3status_rs::blocks::create_block
pub fn create_block(
id: usize,
name: &str,
block_config: Value,
shared_config: SharedConfig,
update_request: Sender<Task>
) -> Result<Box<dyn Block>, Error>
pub fn create_block(
id: usize,
name: &str,
block_config: Value,
shared_config: SharedConfig,
update_request: Sender<Task>
) -> Result<Box<dyn Block>, Error>