Enum valkyrie_parser::KwMatchNode
source · pub enum KwMatchNode {
Catch,
Match,
}
Variants§
Trait Implementations§
source§impl Clone for KwMatchNode
impl Clone for KwMatchNode
source§fn clone(&self) -> KwMatchNode
fn clone(&self) -> KwMatchNode
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 KwMatchNode
impl Debug for KwMatchNode
source§impl FromStr for KwMatchNode
impl FromStr for KwMatchNode
§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 KwMatchNode
impl Hash for KwMatchNode
source§impl YggdrasilNode for KwMatchNode
impl YggdrasilNode for KwMatchNode
Auto Trait Implementations§
impl RefUnwindSafe for KwMatchNode
impl Send for KwMatchNode
impl Sync for KwMatchNode
impl Unpin for KwMatchNode
impl UnwindSafe for KwMatchNode
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