pub enum NCNameDatatype {
NCName,
Id,
IdRef,
}Expand description
NCName datatype variants.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NCNameDatatype
impl Clone for NCNameDatatype
Source§fn clone(&self) -> NCNameDatatype
fn clone(&self) -> NCNameDatatype
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NCNameDatatype
impl Debug for NCNameDatatype
Source§impl From<NCNameDatatype> for Datatype
impl From<NCNameDatatype> for Datatype
Source§fn from(value: NCNameDatatype) -> Self
fn from(value: NCNameDatatype) -> Self
Converts to this type from the input type.
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<NCNameDatatype> for NormalizedStringDatatype
impl From<NCNameDatatype> for NormalizedStringDatatype
Source§fn from(value: NCNameDatatype) -> Self
fn from(value: NCNameDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NCNameDatatype> for StringDatatype
impl From<NCNameDatatype> for StringDatatype
Source§fn from(value: NCNameDatatype) -> Self
fn from(value: NCNameDatatype) -> Self
Converts to this type from the input type.
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 Hash for NCNameDatatype
impl Hash for NCNameDatatype
Source§impl Ord for NCNameDatatype
impl Ord for NCNameDatatype
Source§impl PartialEq for NCNameDatatype
impl PartialEq for NCNameDatatype
Source§impl PartialOrd for NCNameDatatype
impl PartialOrd for NCNameDatatype
Source§impl TryFrom<Datatype> for NCNameDatatype
impl TryFrom<Datatype> for NCNameDatatype
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 NCNameDatatype
impl TryFrom<NormalizedStringDatatype> for NCNameDatatype
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 NCNameDatatype
impl TryFrom<StringDatatype> for NCNameDatatype
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.
impl Copy for NCNameDatatype
impl Eq for NCNameDatatype
impl StructuralPartialEq for NCNameDatatype
Auto Trait Implementations§
impl Freeze for NCNameDatatype
impl RefUnwindSafe for NCNameDatatype
impl Send for NCNameDatatype
impl Sync for NCNameDatatype
impl Unpin for NCNameDatatype
impl UnwindSafe for NCNameDatatype
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)