pub struct DefineText {
pub text: String,
pub origin: Option<(PathBuf, Range)>,
}
Fields§
§text: String
§origin: Option<(PathBuf, Range)>
Implementations§
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
impl Eq for DefineText
impl StructuralPartialEq for DefineText
Auto Trait Implementations§
impl Freeze for DefineText
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