pub struct LocatableString {
pub s: String,
pub l: TextLocation,
}Fields§
§s: String§l: TextLocationTrait Implementations§
Source§impl Clone for LocatableString
impl Clone for LocatableString
Source§fn clone(&self) -> LocatableString
fn clone(&self) -> LocatableString
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LocatableString
impl RefUnwindSafe for LocatableString
impl Send for LocatableString
impl Sync for LocatableString
impl Unpin for LocatableString
impl UnsafeUnpin for LocatableString
impl UnwindSafe for LocatableString
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