Struct sv_parser::DefineText
source · pub struct DefineText {
pub text: String,
pub origin: Option<(PathBuf, Range)>,
}
Fields§
§text: String
§origin: Option<(PathBuf, Range)>
Implementations§
source§impl DefineText
impl DefineText
Trait Implementations§
source§impl Clone for DefineText
impl Clone for DefineText
source§fn clone(&self) -> DefineText
fn clone(&self) -> DefineText
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 DefineText
impl Debug for DefineText
source§impl PartialEq for DefineText
impl PartialEq for DefineText
source§fn eq(&self, other: &DefineText) -> bool
fn eq(&self, other: &DefineText) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DefineText
impl StructuralEq for DefineText
impl StructuralPartialEq for DefineText
Auto Trait Implementations§
impl RefUnwindSafe for DefineText
impl Send for DefineText
impl Sync for DefineText
impl Unpin for DefineText
impl UnwindSafe for DefineText
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