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<DefineText> for DefineText
impl PartialEq<DefineText> 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 ==.