Struct valkyrie_parser::ConstraintBlockNode
source · pub struct ConstraintBlockNode {
pub constraint_implements: Vec<ConstraintImplementsNode>,
pub constraint_statement: Vec<ConstraintStatementNode>,
pub eos_free: Vec<EosFreeNode>,
pub span: Range<u32>,
}
Fields§
§constraint_implements: Vec<ConstraintImplementsNode>
§constraint_statement: Vec<ConstraintStatementNode>
§eos_free: Vec<EosFreeNode>
§span: Range<u32>
Trait Implementations§
source§impl Clone for ConstraintBlockNode
impl Clone for ConstraintBlockNode
source§fn clone(&self) -> ConstraintBlockNode
fn clone(&self) -> ConstraintBlockNode
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 ConstraintBlockNode
impl Debug for ConstraintBlockNode
source§impl FromStr for ConstraintBlockNode
impl FromStr for ConstraintBlockNode
§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 ConstraintBlockNode
impl Hash for ConstraintBlockNode
source§impl YggdrasilNode for ConstraintBlockNode
impl YggdrasilNode for ConstraintBlockNode
Auto Trait Implementations§
impl RefUnwindSafe for ConstraintBlockNode
impl Send for ConstraintBlockNode
impl Sync for ConstraintBlockNode
impl Unpin for ConstraintBlockNode
impl UnwindSafe for ConstraintBlockNode
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