pub enum MapBracketKind {
Parentheses,
AngleBrackets,
}Expand description
Type of brackets used for MAP types.
Variants§
Trait Implementations§
Source§impl Clone for MapBracketKind
impl Clone for MapBracketKind
Source§fn clone(&self) -> MapBracketKind
fn clone(&self) -> MapBracketKind
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 moreimpl Copy for MapBracketKind
Source§impl Debug for MapBracketKind
impl Debug for MapBracketKind
Source§impl<'de> Deserialize<'de> for MapBracketKind
impl<'de> Deserialize<'de> for MapBracketKind
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
impl Eq for MapBracketKind
Source§impl Hash for MapBracketKind
impl Hash for MapBracketKind
Source§impl Ord for MapBracketKind
impl Ord for MapBracketKind
Source§fn cmp(&self, other: &MapBracketKind) -> Ordering
fn cmp(&self, other: &MapBracketKind) -> Ordering
1.21.0 (const: unstable) · 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 MapBracketKind
impl PartialEq for MapBracketKind
Source§fn eq(&self, other: &MapBracketKind) -> bool
fn eq(&self, other: &MapBracketKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MapBracketKind
impl PartialOrd for MapBracketKind
Source§impl Serialize for MapBracketKind
impl Serialize for MapBracketKind
impl StructuralPartialEq for MapBracketKind
Source§impl Visit for MapBracketKind
impl Visit for MapBracketKind
Source§impl VisitMut for MapBracketKind
impl VisitMut for MapBracketKind
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreAuto Trait Implementations§
impl Freeze for MapBracketKind
impl RefUnwindSafe for MapBracketKind
impl Send for MapBracketKind
impl Sync for MapBracketKind
impl Unpin for MapBracketKind
impl UnsafeUnpin for MapBracketKind
impl UnwindSafe for MapBracketKind
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