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