Struct valkyrie_parser::TypeTermNode
source · pub struct TypeTermNode {
pub main_factor: MainFactorNode,
pub type_prefix: Vec<TypePrefixNode>,
pub type_suffix_term: Vec<TypeSuffixTermNode>,
pub span: Range<u32>,
}
Fields§
§main_factor: MainFactorNode
§type_prefix: Vec<TypePrefixNode>
§type_suffix_term: Vec<TypeSuffixTermNode>
§span: Range<u32>
Trait Implementations§
source§impl Clone for TypeTermNode
impl Clone for TypeTermNode
source§fn clone(&self) -> TypeTermNode
fn clone(&self) -> TypeTermNode
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 TypeTermNode
impl Debug for TypeTermNode
source§impl FromStr for TypeTermNode
impl FromStr for TypeTermNode
§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 TypeTermNode
impl Hash for TypeTermNode
source§impl YggdrasilNode for TypeTermNode
impl YggdrasilNode for TypeTermNode
Auto Trait Implementations§
impl RefUnwindSafe for TypeTermNode
impl Send for TypeTermNode
impl Sync for TypeTermNode
impl Unpin for TypeTermNode
impl UnwindSafe for TypeTermNode
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