pub enum TypeDirectiveNode {
Registered(RegisteredTypeNode),
Link(DefinedTypeLinkNode),
}Variants§
Registered(RegisteredTypeNode)
Link(DefinedTypeLinkNode)
Trait Implementations§
Source§impl Clone for TypeDirectiveNode
impl Clone for TypeDirectiveNode
Source§fn clone(&self) -> TypeDirectiveNode
fn clone(&self) -> TypeDirectiveNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TypeDirectiveNode
impl Debug for TypeDirectiveNode
Source§impl From<DefinedTypeLinkNode> for TypeDirectiveNode
impl From<DefinedTypeLinkNode> for TypeDirectiveNode
Source§fn from(value: DefinedTypeLinkNode) -> Self
fn from(value: DefinedTypeLinkNode) -> Self
Converts to this type from the input type.
Source§impl From<RegisteredTypeNode> for TypeDirectiveNode
impl From<RegisteredTypeNode> for TypeDirectiveNode
Source§fn from(value: RegisteredTypeNode) -> Self
fn from(value: RegisteredTypeNode) -> Self
Converts to this type from the input type.
Source§impl From<TypeDirectiveNode> for Node
impl From<TypeDirectiveNode> for Node
Source§fn from(node: TypeDirectiveNode) -> Self
fn from(node: TypeDirectiveNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TypeDirectiveNode
impl PartialEq for TypeDirectiveNode
impl StructuralPartialEq for TypeDirectiveNode
Source§impl TryFrom<TypeDirectiveNode> for TypeNode
impl TryFrom<TypeDirectiveNode> for TypeNode
Source§type Error = CodamaError
type Error = CodamaError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TypeDirectiveNode
impl RefUnwindSafe for TypeDirectiveNode
impl Send for TypeDirectiveNode
impl Sync for TypeDirectiveNode
impl Unpin for TypeDirectiveNode
impl UnsafeUnpin for TypeDirectiveNode
impl UnwindSafe for TypeDirectiveNode
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