pub struct LensStackEntry {
pub lens_id: Symbol,
pub reason: DispatchReason,
}Expand description
One entry in a value’s lens stack.
Fields§
§lens_id: SymbolThe lens id.
reason: DispatchReasonWhy and how strongly it matched.
Trait Implementations§
Source§impl Clone for LensStackEntry
impl Clone for LensStackEntry
Source§fn clone(&self) -> LensStackEntry
fn clone(&self) -> LensStackEntry
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 moreSource§impl Debug for LensStackEntry
impl Debug for LensStackEntry
impl Eq for LensStackEntry
Source§impl PartialEq for LensStackEntry
impl PartialEq for LensStackEntry
Source§fn eq(&self, other: &LensStackEntry) -> bool
fn eq(&self, other: &LensStackEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LensStackEntry
Auto Trait Implementations§
impl Freeze for LensStackEntry
impl RefUnwindSafe for LensStackEntry
impl Send for LensStackEntry
impl Sync for LensStackEntry
impl Unpin for LensStackEntry
impl UnsafeUnpin for LensStackEntry
impl UnwindSafe for LensStackEntry
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