pub struct CloneLocation {
pub fragment_id: String,
pub path: String,
pub span: SourceSpan,
}Fields§
§fragment_id: String§path: String§span: SourceSpanTrait Implementations§
Source§impl Clone for CloneLocation
impl Clone for CloneLocation
Source§fn clone(&self) -> CloneLocation
fn clone(&self) -> CloneLocation
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 moreSource§impl Debug for CloneLocation
impl Debug for CloneLocation
impl Eq for CloneLocation
Source§impl Hash for CloneLocation
impl Hash for CloneLocation
Source§impl Ord for CloneLocation
impl Ord for CloneLocation
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CloneLocation
impl PartialEq for CloneLocation
Source§impl PartialOrd for CloneLocation
impl PartialOrd for CloneLocation
impl StructuralPartialEq for CloneLocation
Auto Trait Implementations§
impl Freeze for CloneLocation
impl RefUnwindSafe for CloneLocation
impl Send for CloneLocation
impl Sync for CloneLocation
impl Unpin for CloneLocation
impl UnsafeUnpin for CloneLocation
impl UnwindSafe for CloneLocation
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