Struct valkyrie_parser::WhereBlockNode
source · pub struct WhereBlockNode {
pub kw_where: KwWhereNode,
pub where_bound: Vec<WhereBoundNode>,
pub span: Range<u32>,
}
Fields§
§kw_where: KwWhereNode
§where_bound: Vec<WhereBoundNode>
§span: Range<u32>
Trait Implementations§
source§impl Clone for WhereBlockNode
impl Clone for WhereBlockNode
source§fn clone(&self) -> WhereBlockNode
fn clone(&self) -> WhereBlockNode
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 WhereBlockNode
impl Debug for WhereBlockNode
source§impl FromStr for WhereBlockNode
impl FromStr for WhereBlockNode
§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 WhereBlockNode
impl Hash for WhereBlockNode
source§impl YggdrasilNode for WhereBlockNode
impl YggdrasilNode for WhereBlockNode
Auto Trait Implementations§
impl RefUnwindSafe for WhereBlockNode
impl Send for WhereBlockNode
impl Sync for WhereBlockNode
impl Unpin for WhereBlockNode
impl UnwindSafe for WhereBlockNode
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