#[repr(transparent)]pub struct ConstPath<T, const S: char>(pub T);Expand description
Const-specialized path with named keys separated by a const separator.
Tuple Fields§
§0: TImplementations§
Trait Implementations§
Source§impl<'de, T, const S: char> Deserialize<'de> for ConstPath<T, S>where
T: Deserialize<'de>,
impl<'de, T, const S: char> Deserialize<'de> for ConstPath<T, S>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: Ord, const S: char> Ord for ConstPath<T, S>
impl<T: Ord, const S: char> Ord for ConstPath<T, S>
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, const S: char> PartialOrd for ConstPath<T, S>
impl<T: PartialOrd, const S: char> PartialOrd for ConstPath<T, S>
impl<T: Copy, const S: char> Copy for ConstPath<T, S>
impl<T: Eq, const S: char> Eq for ConstPath<T, S>
impl<T, const S: char> StructuralPartialEq for ConstPath<T, S>
Auto Trait Implementations§
impl<T, const S: char> Freeze for ConstPath<T, S>where
T: Freeze,
impl<T, const S: char> RefUnwindSafe for ConstPath<T, S>where
T: RefUnwindSafe,
impl<T, const S: char> Send for ConstPath<T, S>where
T: Send,
impl<T, const S: char> Sync for ConstPath<T, S>where
T: Sync,
impl<T, const S: char> Unpin for ConstPath<T, S>where
T: Unpin,
impl<T, const S: char> UnwindSafe for ConstPath<T, S>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