pub struct AttributeNamespaceMember<'a> {
pub attributes: Option<ExtendedAttributeList<'a>>,
pub readonly: ReadOnly,
pub attribute: Attribute,
pub type_: AttributedType<'a>,
pub identifier: Identifier<'a>,
pub semi_colon: SemiColon,
}
Expand description
Parses [attribute]? readonly attributetype type identifier;
Fields§
§attributes: Option<ExtendedAttributeList<'a>>
§readonly: ReadOnly
§attribute: Attribute
§type_: AttributedType<'a>
§identifier: Identifier<'a>
§semi_colon: SemiColon
Trait Implementations§
Source§impl<'a> Clone for AttributeNamespaceMember<'a>
impl<'a> Clone for AttributeNamespaceMember<'a>
Source§fn clone(&self) -> AttributeNamespaceMember<'a>
fn clone(&self) -> AttributeNamespaceMember<'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 AttributeNamespaceMember<'a>
impl<'a> Debug for AttributeNamespaceMember<'a>
Source§impl<'a> From<AttributeNamespaceMember<'a>> for NamespaceMember<'a>
impl<'a> From<AttributeNamespaceMember<'a>> for NamespaceMember<'a>
Source§fn from(x: AttributeNamespaceMember<'a>) -> Self
fn from(x: AttributeNamespaceMember<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for AttributeNamespaceMember<'a>
impl<'a> Hash for AttributeNamespaceMember<'a>
Source§impl<'a> Ord for AttributeNamespaceMember<'a>
impl<'a> Ord for AttributeNamespaceMember<'a>
Source§fn cmp(&self, other: &AttributeNamespaceMember<'a>) -> Ordering
fn cmp(&self, other: &AttributeNamespaceMember<'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 AttributeNamespaceMember<'a>
impl<'a> Parse<'a> for AttributeNamespaceMember<'a>
Source§impl<'a> PartialEq for AttributeNamespaceMember<'a>
impl<'a> PartialEq for AttributeNamespaceMember<'a>
Source§fn eq(&self, other: &AttributeNamespaceMember<'a>) -> bool
fn eq(&self, other: &AttributeNamespaceMember<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<'a> PartialOrd for AttributeNamespaceMember<'a>
impl<'a> PartialOrd for AttributeNamespaceMember<'a>
impl<'a> Eq for AttributeNamespaceMember<'a>
impl<'a> StructuralPartialEq for AttributeNamespaceMember<'a>
Auto Trait Implementations§
impl<'a> Freeze for AttributeNamespaceMember<'a>
impl<'a> RefUnwindSafe for AttributeNamespaceMember<'a>
impl<'a> Send for AttributeNamespaceMember<'a>
impl<'a> Sync for AttributeNamespaceMember<'a>
impl<'a> Unpin for AttributeNamespaceMember<'a>
impl<'a> UnwindSafe for AttributeNamespaceMember<'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