pub trait INSStatusBar: PNSObject {
// Provided methods
fn p_system_status_bar() -> Self
where Self: Sized + FromId { ... }
fn m_status_item_with_length(&self, length: CGFloat) -> NSStatusItem { ... }
}Expand description
A trait containing all the methods for NSStatusBar
Provided Methods§
Sourcefn p_system_status_bar() -> Self
fn p_system_status_bar() -> Self
Returns the system-wide status bar located in the menu bar.
Sourcefn m_status_item_with_length(&self, length: CGFloat) -> NSStatusItem
fn m_status_item_with_length(&self, length: CGFloat) -> NSStatusItem
Returns a newly created status item that has been allotted a specified space within the status bar.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".