pub struct EnumTupleVariantTypeNode {
pub name: CamelCaseString,
pub discriminator: Option<usize>,
pub tuple: NestedTypeNode<TupleTypeNode>,
}Fields§
§name: CamelCaseString§discriminator: Option<usize>§tuple: NestedTypeNode<TupleTypeNode>Implementations§
Source§impl EnumTupleVariantTypeNode
impl EnumTupleVariantTypeNode
pub fn new<T, U>(name: T, tuple: U) -> EnumTupleVariantTypeNode
Trait Implementations§
Source§impl Clone for EnumTupleVariantTypeNode
impl Clone for EnumTupleVariantTypeNode
Source§fn clone(&self) -> EnumTupleVariantTypeNode
fn clone(&self) -> EnumTupleVariantTypeNode
Returns a copy 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 EnumTupleVariantTypeNode
impl Debug for EnumTupleVariantTypeNode
Source§impl<'de> Deserialize<'de> for EnumTupleVariantTypeNode
impl<'de> Deserialize<'de> for EnumTupleVariantTypeNode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnumTupleVariantTypeNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnumTupleVariantTypeNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<EnumTupleVariantTypeNode> for EnumVariantTypeNode
impl From<EnumTupleVariantTypeNode> for EnumVariantTypeNode
Source§fn from(value: EnumTupleVariantTypeNode) -> EnumVariantTypeNode
fn from(value: EnumTupleVariantTypeNode) -> EnumVariantTypeNode
Converts to this type from the input type.
Source§impl From<EnumTupleVariantTypeNode> for Node
impl From<EnumTupleVariantTypeNode> for Node
Source§fn from(val: EnumTupleVariantTypeNode) -> Node
fn from(val: EnumTupleVariantTypeNode) -> Node
Converts to this type from the input type.
Source§impl From<EnumTupleVariantTypeNode> for RegisteredTypeNode
impl From<EnumTupleVariantTypeNode> for RegisteredTypeNode
Source§fn from(value: EnumTupleVariantTypeNode) -> RegisteredTypeNode
fn from(value: EnumTupleVariantTypeNode) -> RegisteredTypeNode
Converts to this type from the input type.
Source§impl NodeTrait for EnumTupleVariantTypeNode
impl NodeTrait for EnumTupleVariantTypeNode
Source§impl PartialEq for EnumTupleVariantTypeNode
impl PartialEq for EnumTupleVariantTypeNode
Source§impl Serialize for EnumTupleVariantTypeNode
impl Serialize for EnumTupleVariantTypeNode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EnumTupleVariantTypeNode
Auto Trait Implementations§
impl Freeze for EnumTupleVariantTypeNode
impl RefUnwindSafe for EnumTupleVariantTypeNode
impl Send for EnumTupleVariantTypeNode
impl Sync for EnumTupleVariantTypeNode
impl Unpin for EnumTupleVariantTypeNode
impl UnwindSafe for EnumTupleVariantTypeNode
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