#[non_exhaustive]pub struct IndexedEntry<T> {
pub index: i64,
pub value: IndexedSrc<T>,
}Expand description
A <ValueIndexed Index="…"> or <pValueIndexed Index="…">: the value an
indexed node holds while its index reads index.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index: i64The Index attribute.
value: IndexedSrc<T>The value for that index.
Trait Implementations§
Source§impl<T: Clone> Clone for IndexedEntry<T>
impl<T: Clone> Clone for IndexedEntry<T>
Source§impl<T: Debug> Debug for IndexedEntry<T>
impl<T: Debug> Debug for IndexedEntry<T>
Source§impl<'de, T> Deserialize<'de> for IndexedEntry<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for IndexedEntry<T>where
T: Deserialize<'de>,
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<T: PartialEq> PartialEq for IndexedEntry<T>
impl<T: PartialEq> PartialEq for IndexedEntry<T>
Source§impl<T> Serialize for IndexedEntry<T>where
T: Serialize,
impl<T> Serialize for IndexedEntry<T>where
T: Serialize,
impl<T: PartialEq> StructuralPartialEq for IndexedEntry<T>
Auto Trait Implementations§
impl<T> Freeze for IndexedEntry<T>where
T: Freeze,
impl<T> RefUnwindSafe for IndexedEntry<T>where
T: RefUnwindSafe,
impl<T> Send for IndexedEntry<T>where
T: Send,
impl<T> Sync for IndexedEntry<T>where
T: Sync,
impl<T> Unpin for IndexedEntry<T>where
T: Unpin,
impl<T> UnsafeUnpin for IndexedEntry<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for IndexedEntry<T>where
T: UnwindSafe,
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