Struct i3status_rs::BarState
source · pub struct BarState { /* private fields */ }
Implementations§
source§impl BarState
impl BarState
pub fn new(config: Config) -> Self
pub async fn spawn_block( &mut self, block_config: BlockConfigEntry ) -> Result<()>
pub async fn run_event_loop(self, restart: fn() -> !) -> Result<(), BlockError>
Auto Trait Implementations§
impl !Freeze for BarState
impl !RefUnwindSafe for BarState
impl !Send for BarState
impl !Sync for BarState
impl Unpin for BarState
impl !UnwindSafe for BarState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more