pub enum DsvElementType {
SourceFile,
Record,
Field,
}Expand description
DSV element type
Variants§
Trait Implementations§
Source§impl Clone for DsvElementType
impl Clone for DsvElementType
Source§fn clone(&self) -> DsvElementType
fn clone(&self) -> DsvElementType
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 DsvElementType
impl Debug for DsvElementType
Source§impl<'de> Deserialize<'de> for DsvElementType
impl<'de> Deserialize<'de> for DsvElementType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ElementType for DsvElementType
impl ElementType for DsvElementType
Source§type Role = UniversalElementRole
type Role = UniversalElementRole
The associated role type for this element kind.
Source§fn is_role(&self, role: Self::Role) -> bool
fn is_role(&self, role: Self::Role) -> bool
Returns true if this element matches the specified language-specific role.
Source§fn is_universal(&self, role: UniversalElementRole) -> bool
fn is_universal(&self, role: UniversalElementRole) -> bool
Returns true if this element matches the specified universal role.
Source§impl From<DsvTokenType> for DsvElementType
impl From<DsvTokenType> for DsvElementType
Source§fn from(token: DsvTokenType) -> Self
fn from(token: DsvTokenType) -> Self
Converts to this type from the input type.
Source§impl Hash for DsvElementType
impl Hash for DsvElementType
Source§impl Ord for DsvElementType
impl Ord for DsvElementType
Source§fn cmp(&self, other: &DsvElementType) -> Ordering
fn cmp(&self, other: &DsvElementType) -> 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 DsvElementType
impl PartialEq for DsvElementType
Source§impl PartialOrd for DsvElementType
impl PartialOrd for DsvElementType
Source§impl Serialize for DsvElementType
impl Serialize for DsvElementType
impl Copy for DsvElementType
impl Eq for DsvElementType
impl StructuralPartialEq for DsvElementType
Auto Trait Implementations§
impl Freeze for DsvElementType
impl RefUnwindSafe for DsvElementType
impl Send for DsvElementType
impl Sync for DsvElementType
impl Unpin for DsvElementType
impl UnsafeUnpin for DsvElementType
impl UnwindSafe for DsvElementType
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