Enum valkyrie_parser::ClassTermNode
source · pub enum ClassTermNode {
DefineDomain(DefineDomainNode),
DefineField(DefineFieldNode),
DefineMethod(DefineMethodNode),
EosFree(EosFreeNode),
ProceduralCall(ProceduralCallNode),
}
Variants§
DefineDomain(DefineDomainNode)
DefineField(DefineFieldNode)
DefineMethod(DefineMethodNode)
EosFree(EosFreeNode)
ProceduralCall(ProceduralCallNode)
Trait Implementations§
source§impl Clone for ClassTermNode
impl Clone for ClassTermNode
source§fn clone(&self) -> ClassTermNode
fn clone(&self) -> ClassTermNode
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 ClassTermNode
impl Debug for ClassTermNode
source§impl FromStr for ClassTermNode
impl FromStr for ClassTermNode
§type Err = YggdrasilError<ValkyrieRule>
type Err = YggdrasilError<ValkyrieRule>
The associated error which can be returned from parsing.
source§fn from_str(input: &str) -> Result<Self, YggdrasilError<ValkyrieRule>>
fn from_str(input: &str) -> Result<Self, YggdrasilError<ValkyrieRule>>
Parses a string
s
to return a value of this type. Read moresource§impl Hash for ClassTermNode
impl Hash for ClassTermNode
source§impl YggdrasilNode for ClassTermNode
impl YggdrasilNode for ClassTermNode
Auto Trait Implementations§
impl RefUnwindSafe for ClassTermNode
impl Send for ClassTermNode
impl Sync for ClassTermNode
impl Unpin for ClassTermNode
impl UnwindSafe for ClassTermNode
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