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