pub struct DictionaryMember<'a> {
pub attributes: Option<ExtendedAttributeList<'a>>,
pub required: Option<Required>,
pub type_: Type<'a>,
pub identifier: Identifier<'a>,
pub default: Option<Default<'a>>,
pub semi_colon: SemiColon,
}
Expand description
Parses dictionary member [attributes]? required? type identifier ( = default )?;
Fields§
§attributes: Option<ExtendedAttributeList<'a>>
§required: Option<Required>
§type_: Type<'a>
§identifier: Identifier<'a>
§default: Option<Default<'a>>
§semi_colon: SemiColon
Trait Implementations§
Source§impl<'a> Clone for DictionaryMember<'a>
impl<'a> Clone for DictionaryMember<'a>
Source§fn clone(&self) -> DictionaryMember<'a>
fn clone(&self) -> DictionaryMember<'a>
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<'a> Debug for DictionaryMember<'a>
impl<'a> Debug for DictionaryMember<'a>
Source§impl<'a> Hash for DictionaryMember<'a>
impl<'a> Hash for DictionaryMember<'a>
Source§impl<'a> Ord for DictionaryMember<'a>
impl<'a> Ord for DictionaryMember<'a>
Source§fn cmp(&self, other: &DictionaryMember<'a>) -> Ordering
fn cmp(&self, other: &DictionaryMember<'a>) -> 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 DictionaryMember<'a>
impl<'a> Parse<'a> for DictionaryMember<'a>
Source§impl<'a> PartialEq for DictionaryMember<'a>
impl<'a> PartialEq for DictionaryMember<'a>
Source§impl<'a> PartialOrd for DictionaryMember<'a>
impl<'a> PartialOrd for DictionaryMember<'a>
impl<'a> Eq for DictionaryMember<'a>
impl<'a> StructuralPartialEq for DictionaryMember<'a>
Auto Trait Implementations§
impl<'a> Freeze for DictionaryMember<'a>
impl<'a> RefUnwindSafe for DictionaryMember<'a>
impl<'a> Send for DictionaryMember<'a>
impl<'a> Sync for DictionaryMember<'a>
impl<'a> Unpin for DictionaryMember<'a>
impl<'a> UnwindSafe for DictionaryMember<'a>
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