pub struct Indices<T: ?Sized> { /* private fields */ }Expand description
Indices of usize to identify a node in a TreeSchema
Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Indices<T>where
    T: Deserialize<'de> + ?Sized,
 
impl<'de, T> Deserialize<'de> for Indices<T>where
    T: Deserialize<'de> + ?Sized,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a, U, T: ?Sized> IntoIterator for &'a Indices<T>where
    &'a T: IntoIterator<Item = U>,
 
impl<'a, U, T: ?Sized> IntoIterator for &'a Indices<T>where
    &'a T: IntoIterator<Item = U>,
Source§impl<T: Ord + ?Sized> Ord for Indices<T>
 
impl<T: Ord + ?Sized> Ord for Indices<T>
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<T: PartialOrd + ?Sized> PartialOrd for Indices<T>
 
impl<T: PartialOrd + ?Sized> PartialOrd for Indices<T>
impl<T: Copy + ?Sized> Copy for Indices<T>
impl<T: Eq + ?Sized> Eq for Indices<T>
impl<T: ?Sized> StructuralPartialEq for Indices<T>
Auto Trait Implementations§
impl<T> Freeze for Indices<T>
impl<T> RefUnwindSafe for Indices<T>where
    T: RefUnwindSafe + ?Sized,
impl<T> Send for Indices<T>
impl<T> Sync for Indices<T>
impl<T> Unpin for Indices<T>
impl<T> UnwindSafe for Indices<T>where
    T: UnwindSafe + ?Sized,
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