pub enum EnumVariantTypeNode {
    Empty(EnumEmptyVariantTypeNode),
    Struct(EnumStructVariantTypeNode),
    Tuple(EnumTupleVariantTypeNode),
}Variants§
Trait Implementations§
Source§impl Clone for EnumVariantTypeNode
 
impl Clone for EnumVariantTypeNode
Source§fn clone(&self) -> EnumVariantTypeNode
 
fn clone(&self) -> EnumVariantTypeNode
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 EnumVariantTypeNode
 
impl Debug for EnumVariantTypeNode
Source§impl<'de> Deserialize<'de> for EnumVariantTypeNode
 
impl<'de> Deserialize<'de> for EnumVariantTypeNode
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 From<EnumEmptyVariantTypeNode> for EnumVariantTypeNode
 
impl From<EnumEmptyVariantTypeNode> for EnumVariantTypeNode
Source§fn from(value: EnumEmptyVariantTypeNode) -> Self
 
fn from(value: EnumEmptyVariantTypeNode) -> Self
Converts to this type from the input type.
Source§impl From<EnumStructVariantTypeNode> for EnumVariantTypeNode
 
impl From<EnumStructVariantTypeNode> for EnumVariantTypeNode
Source§fn from(value: EnumStructVariantTypeNode) -> Self
 
fn from(value: EnumStructVariantTypeNode) -> Self
Converts to this type from the input type.
Source§impl From<EnumTupleVariantTypeNode> for EnumVariantTypeNode
 
impl From<EnumTupleVariantTypeNode> for EnumVariantTypeNode
Source§fn from(value: EnumTupleVariantTypeNode) -> Self
 
fn from(value: EnumTupleVariantTypeNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EnumVariantTypeNode
 
impl PartialEq for EnumVariantTypeNode
Source§impl Serialize for EnumVariantTypeNode
 
impl Serialize for EnumVariantTypeNode
Source§impl TryFrom<Node> for EnumVariantTypeNode
 
impl TryFrom<Node> for EnumVariantTypeNode
impl NodeUnionTrait for EnumVariantTypeNode
impl StructuralPartialEq for EnumVariantTypeNode
Auto Trait Implementations§
impl Freeze for EnumVariantTypeNode
impl RefUnwindSafe for EnumVariantTypeNode
impl Send for EnumVariantTypeNode
impl Sync for EnumVariantTypeNode
impl Unpin for EnumVariantTypeNode
impl UnwindSafe for EnumVariantTypeNode
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