Struct sv_parser::SourceText
source · pub struct SourceText {
pub nodes: (Vec<WhiteSpace>, Option<TimeunitsDeclaration>, Vec<Description>),
}
Fields§
§nodes: (Vec<WhiteSpace>, Option<TimeunitsDeclaration>, Vec<Description>)
Trait Implementations§
source§impl Clone for SourceText
impl Clone for SourceText
source§fn clone(&self) -> SourceText
fn clone(&self) -> SourceText
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 SourceText
impl Debug for SourceText
source§impl<'a> From<&'a SourceText> for RefNode<'a>
impl<'a> From<&'a SourceText> for RefNode<'a>
source§fn from(x: &'a SourceText) -> RefNode<'a>
fn from(x: &'a SourceText) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a SourceText> for RefNodes<'a>
impl<'a> From<&'a SourceText> for RefNodes<'a>
source§fn from(x: &'a SourceText) -> RefNodes<'a>
fn from(x: &'a SourceText) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<SourceText> for AnyNode
impl From<SourceText> for AnyNode
source§fn from(x: SourceText) -> AnyNode
fn from(x: SourceText) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a SourceText
impl<'a> IntoIterator for &'a SourceText
source§impl PartialEq for SourceText
impl PartialEq for SourceText
source§fn eq(&self, other: &SourceText) -> bool
fn eq(&self, other: &SourceText) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a SourceText> for Locate
impl<'a> TryFrom<&'a SourceText> for Locate
source§impl TryFrom<AnyNode> for SourceText
impl TryFrom<AnyNode> for SourceText
source§impl TryFrom<SourceText> for Locate
impl TryFrom<SourceText> for Locate
impl StructuralPartialEq for SourceText
Auto Trait Implementations§
impl RefUnwindSafe for SourceText
impl Send for SourceText
impl Sync for SourceText
impl Unpin for SourceText
impl UnwindSafe for SourceText
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