pub trait StatusbarExt: 'static {
// Required methods
fn get_context_id(&self, context_description: &str) -> u32;
fn get_message_area(&self) -> Option<Box>;
fn pop(&self, context_id: u32);
fn push(&self, context_id: u32, text: &str) -> u32;
fn remove(&self, context_id: u32, message_id: u32);
fn remove_all(&self, context_id: u32);
fn connect_text_popped<F: Fn(&Self, u32, &str) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_text_pushed<F: Fn(&Self, u32, &str) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_context_id(&self, context_description: &str) -> u32
fn get_message_area(&self) -> Option<Box>
fn pop(&self, context_id: u32)
fn push(&self, context_id: u32, text: &str) -> u32
fn remove(&self, context_id: u32, message_id: u32)
fn remove_all(&self, context_id: u32)
fn connect_text_popped<F: Fn(&Self, u32, &str) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_text_pushed<F: Fn(&Self, u32, &str) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.