Struct udl::ast::ParsedText
source · pub struct ParsedText {
pub text: String,
pub from: Position,
pub to: Position,
}
Fields§
§text: String
§from: Position
§to: Position
Trait Implementations§
source§impl Clone for ParsedText
impl Clone for ParsedText
source§fn clone(&self) -> ParsedText
fn clone(&self) -> ParsedText
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 Display for ParsedText
impl Display for ParsedText
source§impl From<ParsedText> for ParsedArgument
impl From<ParsedText> for ParsedArgument
source§fn from(text: ParsedText) -> Self
fn from(text: ParsedText) -> Self
Converts to this type from the input type.
source§impl PartialEq<ParsedText> for ParsedText
impl PartialEq<ParsedText> for ParsedText
source§fn eq(&self, other: &ParsedText) -> bool
fn eq(&self, other: &ParsedText) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParsedText
impl StructuralEq for ParsedText
impl StructuralPartialEq for ParsedText
Auto Trait Implementations§
impl RefUnwindSafe for ParsedText
impl Send for ParsedText
impl Sync for ParsedText
impl Unpin for ParsedText
impl UnwindSafe for ParsedText
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