pub struct EmptyDictionaryLit {
pub open_brace: OpenBrace,
pub close_brace: CloseBrace,
}
Expand description
Represents { }
Fields§
§open_brace: OpenBrace
§close_brace: CloseBrace
Trait Implementations§
Source§impl Clone for EmptyDictionaryLit
impl Clone for EmptyDictionaryLit
Source§fn clone(&self) -> EmptyDictionaryLit
fn clone(&self) -> EmptyDictionaryLit
Returns a copy of the value. Read more
1.0.0 · 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 EmptyDictionaryLit
impl Debug for EmptyDictionaryLit
Source§impl Default for EmptyDictionaryLit
impl Default for EmptyDictionaryLit
Source§fn default() -> EmptyDictionaryLit
fn default() -> EmptyDictionaryLit
Returns the “default value” for a type. Read more
Source§impl<'a> From<EmptyDictionaryLit> for DefaultValue<'a>
impl<'a> From<EmptyDictionaryLit> for DefaultValue<'a>
Source§fn from(x: EmptyDictionaryLit) -> Self
fn from(x: EmptyDictionaryLit) -> Self
Converts to this type from the input type.
Source§impl Hash for EmptyDictionaryLit
impl Hash for EmptyDictionaryLit
Source§impl Ord for EmptyDictionaryLit
impl Ord for EmptyDictionaryLit
Source§fn cmp(&self, other: &EmptyDictionaryLit) -> Ordering
fn cmp(&self, other: &EmptyDictionaryLit) -> Ordering
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<'a> Parse<'a> for EmptyDictionaryLit
impl<'a> Parse<'a> for EmptyDictionaryLit
Source§impl PartialEq for EmptyDictionaryLit
impl PartialEq for EmptyDictionaryLit
Source§impl PartialOrd for EmptyDictionaryLit
impl PartialOrd for EmptyDictionaryLit
impl Copy for EmptyDictionaryLit
impl Eq for EmptyDictionaryLit
impl StructuralPartialEq for EmptyDictionaryLit
Auto Trait Implementations§
impl Freeze for EmptyDictionaryLit
impl RefUnwindSafe for EmptyDictionaryLit
impl Send for EmptyDictionaryLit
impl Sync for EmptyDictionaryLit
impl Unpin for EmptyDictionaryLit
impl UnwindSafe for EmptyDictionaryLit
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