pub struct Lookup<'a, A> {
pub exact: Option<&'a Binding<A>>,
pub longer: usize,
}Expand description
Result of KeyMap::lookup.
Fields§
§exact: Option<&'a Binding<A>>The winning binding for exactly this chord, if any.
longer: usizeNumber of applicable bindings whose chord starts with this chord and is longer (a pending prefix must wait for them).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, A> Freeze for Lookup<'a, A>
impl<'a, A> RefUnwindSafe for Lookup<'a, A>
impl<'a, A> Send for Lookup<'a, A>
impl<'a, A> Sync for Lookup<'a, A>
impl<'a, A> Unpin for Lookup<'a, A>
impl<'a, A> UnsafeUnpin for Lookup<'a, A>
impl<'a, A> UnwindSafe for Lookup<'a, 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