#[repr(C)]pub struct ShortcutDesc {
pub present: bool,
pub shortcut: Shortcut,
}Expand description
An item’s shortcut, which shortcut holds when present.
Fields§
§present: bool§shortcut: ShortcutTrait Implementations§
Source§impl Clone for ShortcutDesc
impl Clone for ShortcutDesc
Source§fn clone(&self) -> ShortcutDesc
fn clone(&self) -> ShortcutDesc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShortcutDesc
Auto Trait Implementations§
impl Freeze for ShortcutDesc
impl RefUnwindSafe for ShortcutDesc
impl Send for ShortcutDesc
impl Sync for ShortcutDesc
impl Unpin for ShortcutDesc
impl UnsafeUnpin for ShortcutDesc
impl UnwindSafe for ShortcutDesc
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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