pub struct LensPath {
pub elements: Vec<LensPathElement>,
}Expand description
Describes a lens relative to a source data structure.
Fields§
§elements: Vec<LensPathElement>The path elements.
Implementations§
Trait Implementations§
Source§impl Ord for LensPath
impl Ord for LensPath
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for LensPath
impl PartialOrd for LensPath
impl Eq for LensPath
impl StructuralPartialEq for LensPath
Auto Trait Implementations§
impl Freeze for LensPath
impl RefUnwindSafe for LensPath
impl Send for LensPath
impl Sync for LensPath
impl Unpin for LensPath
impl UnsafeUnpin for LensPath
impl UnwindSafe for LensPath
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