pub enum NamespaceMember<'a> {
Operation(OperationNamespaceMember<'a>),
Attribute(AttributeNamespaceMember<'a>),
}
Expand description
Parses namespace member declaration
Variants§
Operation(OperationNamespaceMember<'a>)
Attribute(AttributeNamespaceMember<'a>)
Trait Implementations§
Source§impl<'a> Clone for NamespaceMember<'a>
impl<'a> Clone for NamespaceMember<'a>
Source§fn clone(&self) -> NamespaceMember<'a>
fn clone(&self) -> NamespaceMember<'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 NamespaceMember<'a>
impl<'a> Debug for NamespaceMember<'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> From<OperationNamespaceMember<'a>> for NamespaceMember<'a>
impl<'a> From<OperationNamespaceMember<'a>> for NamespaceMember<'a>
Source§fn from(x: OperationNamespaceMember<'a>) -> Self
fn from(x: OperationNamespaceMember<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for NamespaceMember<'a>
impl<'a> Hash for NamespaceMember<'a>
Source§impl<'a> Ord for NamespaceMember<'a>
impl<'a> Ord for NamespaceMember<'a>
Source§fn cmp(&self, other: &NamespaceMember<'a>) -> Ordering
fn cmp(&self, other: &NamespaceMember<'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 NamespaceMember<'a>
impl<'a> Parse<'a> for NamespaceMember<'a>
Source§impl<'a> PartialEq for NamespaceMember<'a>
impl<'a> PartialEq for NamespaceMember<'a>
Source§impl<'a> PartialOrd for NamespaceMember<'a>
impl<'a> PartialOrd for NamespaceMember<'a>
impl<'a> Eq for NamespaceMember<'a>
impl<'a> StructuralPartialEq for NamespaceMember<'a>
Auto Trait Implementations§
impl<'a> Freeze for NamespaceMember<'a>
impl<'a> RefUnwindSafe for NamespaceMember<'a>
impl<'a> Send for NamespaceMember<'a>
impl<'a> Sync for NamespaceMember<'a>
impl<'a> Unpin for NamespaceMember<'a>
impl<'a> UnwindSafe for NamespaceMember<'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