pub struct ShortcutState {
pub handler: Option<Handler>,
pub default_map: ShortcutMap,
pub scopes: Vec<ShortcutMap>,
/* private fields */
}Fields§
§handler: Option<Handler>§default_map: ShortcutMap§scopes: Vec<ShortcutMap>Implementations§
Trait Implementations§
Source§impl Clone for ShortcutState
impl Clone for ShortcutState
Auto Trait Implementations§
impl !RefUnwindSafe for ShortcutState
impl !Send for ShortcutState
impl !Sync for ShortcutState
impl !UnwindSafe for ShortcutState
impl Forget for ShortcutState
impl Freeze for ShortcutStatewhere
*const RcInner<dyn Fn(Action) -> bool> is !null: Freeze,
PhantomData<RcInner<dyn Fn(Action) -> bool>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<ShortcutBinding>: Freeze,
PhantomData<ShortcutMap>: Freeze,
*const RcInner<RefCell<RuntimeShortcutInstalls>> is !null: Freeze,
PhantomData<RcInner<RefCell<RuntimeShortcutInstalls>>>: Freeze,
impl Move for ShortcutState
impl Unpin for ShortcutState
impl UnsafeUnpin for ShortcutStatewhere
*const RcInner<dyn Fn(Action) -> bool> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(Action) -> bool>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<ShortcutBinding>: UnsafeUnpin,
PhantomData<ShortcutMap>: UnsafeUnpin,
*const RcInner<RefCell<RuntimeShortcutInstalls>> is !null: UnsafeUnpin,
PhantomData<RcInner<RefCell<RuntimeShortcutInstalls>>>: UnsafeUnpin,
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