pub enum TokenDatatype {
Token,
Language,
Name(NameDatatype),
NMToken,
}Expand description
Token datatype variants.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TokenDatatype
impl Clone for TokenDatatype
Source§fn clone(&self) -> TokenDatatype
fn clone(&self) -> TokenDatatype
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 TokenDatatype
impl Debug for TokenDatatype
Source§impl From<NCNameDatatype> for TokenDatatype
impl From<NCNameDatatype> for TokenDatatype
Source§fn from(value: NCNameDatatype) -> Self
fn from(value: NCNameDatatype) -> 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 From<TokenDatatype> for Datatype
impl From<TokenDatatype> for Datatype
Source§fn from(value: TokenDatatype) -> Self
fn from(value: TokenDatatype) -> Self
Converts to this type from the input type.
Source§impl From<TokenDatatype> for NormalizedStringDatatype
impl From<TokenDatatype> for NormalizedStringDatatype
Source§fn from(value: TokenDatatype) -> Self
fn from(value: TokenDatatype) -> Self
Converts to this type from the input type.
Source§impl From<TokenDatatype> for StringDatatype
impl From<TokenDatatype> for StringDatatype
Source§fn from(value: TokenDatatype) -> Self
fn from(value: TokenDatatype) -> Self
Converts to this type from the input type.
Source§impl Hash for TokenDatatype
impl Hash for TokenDatatype
Source§impl Ord for TokenDatatype
impl Ord for TokenDatatype
Source§fn cmp(&self, other: &TokenDatatype) -> Ordering
fn cmp(&self, other: &TokenDatatype) -> 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 TokenDatatype
impl PartialEq for TokenDatatype
Source§impl PartialOrd for TokenDatatype
impl PartialOrd for TokenDatatype
Source§impl TryFrom<Datatype> for TokenDatatype
impl TryFrom<Datatype> for TokenDatatype
Source§impl TryFrom<NormalizedStringDatatype> for TokenDatatype
impl TryFrom<NormalizedStringDatatype> for TokenDatatype
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 TokenDatatype
impl TryFrom<StringDatatype> for TokenDatatype
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 NCNameDatatype
impl TryFrom<TokenDatatype> for NCNameDatatype
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.
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 TokenDatatype
impl Eq for TokenDatatype
impl StructuralPartialEq for TokenDatatype
Auto Trait Implementations§
impl Freeze for TokenDatatype
impl RefUnwindSafe for TokenDatatype
impl Send for TokenDatatype
impl Sync for TokenDatatype
impl Unpin for TokenDatatype
impl UnwindSafe for TokenDatatype
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