pub enum NameDatatype {
Name,
NCName(NCNameDatatype),
}Expand description
Name datatype variants.
Variants§
Name
NCName(NCNameDatatype)
Implementations§
Trait Implementations§
Source§impl Clone for NameDatatype
impl Clone for NameDatatype
Source§fn clone(&self) -> NameDatatype
fn clone(&self) -> NameDatatype
Returns a duplicate 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 NameDatatype
impl Debug for NameDatatype
Source§impl From<NCNameDatatype> for NameDatatype
impl From<NCNameDatatype> for NameDatatype
Source§fn from(value: NCNameDatatype) -> Self
fn from(value: NCNameDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NameDatatype> for Datatype
impl From<NameDatatype> for Datatype
Source§fn from(value: NameDatatype) -> Self
fn from(value: NameDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NameDatatype> for NormalizedStringDatatype
impl From<NameDatatype> for NormalizedStringDatatype
Source§fn from(value: NameDatatype) -> Self
fn from(value: NameDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NameDatatype> for StringDatatype
impl From<NameDatatype> for StringDatatype
Source§fn from(value: NameDatatype) -> Self
fn from(value: NameDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NameDatatype> for TokenDatatype
impl From<NameDatatype> for TokenDatatype
Source§fn from(value: NameDatatype) -> Self
fn from(value: NameDatatype) -> Self
Converts to this type from the input type.
Source§impl Hash for NameDatatype
impl Hash for NameDatatype
Source§impl Ord for NameDatatype
impl Ord for NameDatatype
Source§fn cmp(&self, other: &NameDatatype) -> Ordering
fn cmp(&self, other: &NameDatatype) -> 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 PartialEq for NameDatatype
impl PartialEq for NameDatatype
Source§impl PartialOrd for NameDatatype
impl PartialOrd for NameDatatype
Source§impl TryFrom<Datatype> for NameDatatype
impl TryFrom<Datatype> for NameDatatype
Source§impl TryFrom<NameDatatype> for NCNameDatatype
impl TryFrom<NameDatatype> for NCNameDatatype
Source§type Error = NameDatatype
type Error = NameDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: NameDatatype) -> Result<Self, NameDatatype>
fn try_from(value: NameDatatype) -> Result<Self, NameDatatype>
Performs the conversion.
Source§impl TryFrom<NormalizedStringDatatype> for NameDatatype
impl TryFrom<NormalizedStringDatatype> for NameDatatype
Source§type Error = NormalizedStringDatatype
type Error = NormalizedStringDatatype
The type returned in the event of a conversion error.
Source§fn try_from(
value: NormalizedStringDatatype,
) -> Result<Self, NormalizedStringDatatype>
fn try_from( value: NormalizedStringDatatype, ) -> Result<Self, NormalizedStringDatatype>
Performs the conversion.
Source§impl TryFrom<StringDatatype> for NameDatatype
impl TryFrom<StringDatatype> for NameDatatype
Source§type Error = StringDatatype
type Error = StringDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: StringDatatype) -> Result<Self, StringDatatype>
fn try_from(value: StringDatatype) -> Result<Self, StringDatatype>
Performs the conversion.
Source§impl TryFrom<TokenDatatype> for NameDatatype
impl TryFrom<TokenDatatype> for NameDatatype
Source§type Error = TokenDatatype
type Error = TokenDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: TokenDatatype) -> Result<Self, TokenDatatype>
fn try_from(value: TokenDatatype) -> Result<Self, TokenDatatype>
Performs the conversion.
impl Copy for NameDatatype
impl Eq for NameDatatype
impl StructuralPartialEq for NameDatatype
Auto Trait Implementations§
impl Freeze for NameDatatype
impl RefUnwindSafe for NameDatatype
impl Send for NameDatatype
impl Sync for NameDatatype
impl Unpin for NameDatatype
impl UnwindSafe for NameDatatype
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