Struct dejavu_parser::dejavu::TemplateRNode
source · pub struct TemplateRNode {
pub space_control: Option<SpaceControlNode>,
pub span: Range<u32>,
}
Fields§
§space_control: Option<SpaceControlNode>
§span: Range<u32>
Trait Implementations§
source§impl Clone for TemplateRNode
impl Clone for TemplateRNode
source§fn clone(&self) -> TemplateRNode
fn clone(&self) -> TemplateRNode
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 TemplateRNode
impl Debug for TemplateRNode
source§impl FromStr for TemplateRNode
impl FromStr for TemplateRNode
§type Err = YggdrasilError<DejavuRule>
type Err = YggdrasilError<DejavuRule>
The associated error which can be returned from parsing.
source§fn from_str(input: &str) -> Result<Self, YggdrasilError<DejavuRule>>
fn from_str(input: &str) -> Result<Self, YggdrasilError<DejavuRule>>
Parses a string
s
to return a value of this type. Read moresource§impl Hash for TemplateRNode
impl Hash for TemplateRNode
Auto Trait Implementations§
impl RefUnwindSafe for TemplateRNode
impl Send for TemplateRNode
impl Sync for TemplateRNode
impl Unpin for TemplateRNode
impl UnwindSafe for TemplateRNode
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