pub enum KeymapResult<'a, V> {
Unmapped,
Pending,
Mapped(&'a V),
Fallback(V),
}Variants§
Trait Implementations§
Source§impl<'a, V: Debug> Debug for KeymapResult<'a, V>
impl<'a, V: Debug> Debug for KeymapResult<'a, V>
Source§impl<'a, V: PartialEq> PartialEq for KeymapResult<'a, V>
impl<'a, V: PartialEq> PartialEq for KeymapResult<'a, V>
impl<'a, V: PartialEq> StructuralPartialEq for KeymapResult<'a, V>
Auto Trait Implementations§
impl<'a, V> Freeze for KeymapResult<'a, V>
impl<'a, V> RefUnwindSafe for KeymapResult<'a, V>
impl<'a, V> Send for KeymapResult<'a, V>
impl<'a, V> Sync for KeymapResult<'a, V>
impl<'a, V> Unpin for KeymapResult<'a, V>
impl<'a, V> UnsafeUnpin for KeymapResult<'a, V>
impl<'a, V> UnwindSafe for KeymapResult<'a, V>
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