pub struct CmdItem<'a> {
pub id: u32,
pub icon: u32,
pub label: &'a str,
pub flags: u32,
}Expand description
an item of a command bar
Fields§
§id: u32§icon: u32§label: &'a str§flags: u32ST_ACCENT, ST_DISABLED, ST_CHECKED, CBI_SEP, CBI_END
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for CmdItem<'a>
impl<'a> Freeze for CmdItem<'a>
impl<'a> RefUnwindSafe for CmdItem<'a>
impl<'a> Send for CmdItem<'a>
impl<'a> Sync for CmdItem<'a>
impl<'a> Unpin for CmdItem<'a>
impl<'a> UnsafeUnpin for CmdItem<'a>
impl<'a> UnwindSafe for CmdItem<'a>
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