Struct valkyrie_parser::TextRawNode
source · pub struct TextRawNode {
pub text_content_1: Option<TextContent1Node>,
pub text_content_2: Option<TextContent2Node>,
pub text_content_3: Option<TextContent3Node>,
pub text_content_4: Option<TextContent4Node>,
pub text_content_5: Option<TextContent5Node>,
pub text_content_6: Option<TextContent6Node>,
pub span: Range<u32>,
}
Fields§
§text_content_1: Option<TextContent1Node>
§text_content_2: Option<TextContent2Node>
§text_content_3: Option<TextContent3Node>
§text_content_4: Option<TextContent4Node>
§text_content_5: Option<TextContent5Node>
§text_content_6: Option<TextContent6Node>
§span: Range<u32>
Trait Implementations§
source§impl Clone for TextRawNode
impl Clone for TextRawNode
source§fn clone(&self) -> TextRawNode
fn clone(&self) -> TextRawNode
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 TextRawNode
impl Debug for TextRawNode
source§impl FromStr for TextRawNode
impl FromStr for TextRawNode
§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 TextRawNode
impl Hash for TextRawNode
source§impl YggdrasilNode for TextRawNode
impl YggdrasilNode for TextRawNode
Auto Trait Implementations§
impl RefUnwindSafe for TextRawNode
impl Send for TextRawNode
impl Sync for TextRawNode
impl Unpin for TextRawNode
impl UnwindSafe for TextRawNode
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