pub struct ActiveWindow { /* private fields */ }Implementations§
Source§impl ActiveWindow
impl ActiveWindow
pub async fn new(config: &WidgetConfig) -> Result<Box<Self>>
Trait Implementations§
Source§impl Debug for ActiveWindow
impl Debug for ActiveWindow
Source§impl Display for ActiveWindow
impl Display for ActiveWindow
Source§impl Widget for ActiveWindow
impl Widget for ActiveWindow
fn update<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn hook<'life0, 'life1, 'async_trait>(
&'life0 mut self,
sender: HookSender,
timed_hooks: &'life1 mut TimedHooks,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn draw(&self, context: &Context, rectangle: &Rectangle) -> Result<()>
fn size(&self, context: &Context) -> Result<Size>
fn padding(&self) -> u32
fn setup(&mut self, _info: &StatusBarInfo) -> Result<()>
Auto Trait Implementations§
impl Freeze for ActiveWindow
impl RefUnwindSafe for ActiveWindow
impl Send for ActiveWindow
impl Sync for ActiveWindow
impl Unpin for ActiveWindow
impl UnwindSafe for ActiveWindow
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