Struct valkyrie_parser::RangeNode
source · pub struct RangeNode {
pub max: Option<IntegerNode>,
pub min: Option<IntegerNode>,
pub span: Range<u32>,
}Fields§
§max: Option<IntegerNode>§min: Option<IntegerNode>§span: Range<u32>Trait Implementations§
source§impl FromStr for RangeNode
impl FromStr for RangeNode
§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 moreAuto Trait Implementations§
impl RefUnwindSafe for RangeNode
impl Send for RangeNode
impl Sync for RangeNode
impl Unpin for RangeNode
impl UnwindSafe for RangeNode
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