pub enum VampireElementType {
Root,
}Expand description
Vampire element types.
Variants§
Root
Root element.
Trait Implementations§
Source§impl Clone for VampireElementType
impl Clone for VampireElementType
Source§fn clone(&self) -> VampireElementType
fn clone(&self) -> VampireElementType
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 VampireElementType
impl Debug for VampireElementType
Source§impl<'de> Deserialize<'de> for VampireElementType
impl<'de> Deserialize<'de> for VampireElementType
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 VampireElementType
impl ElementType for VampireElementType
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<VampireElementType> for u16
impl From<VampireElementType> for u16
Source§fn from(t: VampireElementType) -> u16
fn from(t: VampireElementType) -> u16
Converts to this type from the input type.
Source§impl From<VampireTokenType> for VampireElementType
impl From<VampireTokenType> for VampireElementType
Source§fn from(_: VampireTokenType) -> Self
fn from(_: VampireTokenType) -> Self
Converts to this type from the input type.
Source§impl From<u16> for VampireElementType
impl From<u16> for VampireElementType
Source§impl Hash for VampireElementType
impl Hash for VampireElementType
Source§impl PartialEq for VampireElementType
impl PartialEq for VampireElementType
Source§impl Serialize for VampireElementType
impl Serialize for VampireElementType
impl Copy for VampireElementType
impl Eq for VampireElementType
impl StructuralPartialEq for VampireElementType
Auto Trait Implementations§
impl Freeze for VampireElementType
impl RefUnwindSafe for VampireElementType
impl Send for VampireElementType
impl Sync for VampireElementType
impl Unpin for VampireElementType
impl UnsafeUnpin for VampireElementType
impl UnwindSafe for VampireElementType
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