pub enum CommentPathSegmentV0_92_0 {
Key(String),
Index(usize),
}Expand description
Frozen 0.92.0 representation of a CommentPathSegment. Also used for
nested_fills path segments.
Variants§
Trait Implementations§
Source§impl Clone for CommentPathSegmentV0_92_0
impl Clone for CommentPathSegmentV0_92_0
Source§fn clone(&self) -> CommentPathSegmentV0_92_0
fn clone(&self) -> CommentPathSegmentV0_92_0
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommentPathSegmentV0_92_0
impl Debug for CommentPathSegmentV0_92_0
Source§impl<'de> Deserialize<'de> for CommentPathSegmentV0_92_0
impl<'de> Deserialize<'de> for CommentPathSegmentV0_92_0
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 From<&PathSegment> for CommentPathSegmentV0_92_0
impl From<&PathSegment> for CommentPathSegmentV0_92_0
Source§fn from(seg: &CommentPathSegment) -> Self
fn from(seg: &CommentPathSegment) -> Self
Converts to this type from the input type.
Source§impl From<CommentPathSegmentV0_92_0> for CommentPathSegment
impl From<CommentPathSegmentV0_92_0> for CommentPathSegment
Source§fn from(seg: CommentPathSegmentV0_92_0) -> Self
fn from(seg: CommentPathSegmentV0_92_0) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for CommentPathSegmentV0_92_0
Auto Trait Implementations§
impl Freeze for CommentPathSegmentV0_92_0
impl RefUnwindSafe for CommentPathSegmentV0_92_0
impl Send for CommentPathSegmentV0_92_0
impl Sync for CommentPathSegmentV0_92_0
impl Unpin for CommentPathSegmentV0_92_0
impl UnsafeUnpin for CommentPathSegmentV0_92_0
impl UnwindSafe for CommentPathSegmentV0_92_0
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