pub struct TrayOptions {
pub id: String,
pub standard_items: bool,
}Expand description
Options for an independently owned tray. Existing install & TraySpec are unchanged.
Fields§
§id: String§standard_items: boolInclude shell Show/Quit actions. false uses exactly TraySpec::items.
Implementations§
Source§impl TrayOptions
impl TrayOptions
pub fn custom_only(id: impl Into<String>) -> Self
Resolve visible rows & reject ambiguous ids before allocating native resources.
Trait Implementations§
Source§impl Clone for TrayOptions
impl Clone for TrayOptions
Source§impl Debug for TrayOptions
impl Debug for TrayOptions
Auto Trait Implementations§
impl Freeze for TrayOptions
impl RefUnwindSafe for TrayOptions
impl Send for TrayOptions
impl Sync for TrayOptions
impl Unpin for TrayOptions
impl UnsafeUnpin for TrayOptions
impl UnwindSafe for TrayOptions
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