pub struct LensPathElement { /* private fields */ }Expand description
An element in a LensPath.
Implementations§
Source§impl LensPathElement
impl LensPathElement
pub fn new(id: u64) -> LensPathElement
Trait Implementations§
Source§impl Clone for LensPathElement
impl Clone for LensPathElement
Source§fn clone(&self) -> LensPathElement
fn clone(&self) -> LensPathElement
Returns a duplicate of the value. Read more
1.0.0 · 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 LensPathElement
impl Debug for LensPathElement
Source§impl Ord for LensPathElement
impl Ord for LensPathElement
Source§fn cmp(&self, other: &LensPathElement) -> Ordering
fn cmp(&self, other: &LensPathElement) -> Ordering
1.21.0 · 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 PartialEq for LensPathElement
impl PartialEq for LensPathElement
Source§impl PartialOrd for LensPathElement
impl PartialOrd for LensPathElement
impl Copy for LensPathElement
impl Eq for LensPathElement
impl StructuralPartialEq for LensPathElement
Auto Trait Implementations§
impl Freeze for LensPathElement
impl RefUnwindSafe for LensPathElement
impl Send for LensPathElement
impl Sync for LensPathElement
impl Unpin for LensPathElement
impl UnwindSafe for LensPathElement
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