pub struct LocationInModule<T = ()> { /* private fields */ }Expand description
Code fragment together with information about the module containing the fragment.
Implementations§
Source§impl<T> LocationInModule<T>
impl<T> LocationInModule<T>
Trait Implementations§
Source§impl<T: Clone> Clone for LocationInModule<T>
impl<T: Clone> Clone for LocationInModule<T>
Source§fn clone(&self) -> LocationInModule<T>
fn clone(&self) -> LocationInModule<T>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<T> Freeze for LocationInModule<T>where
T: Freeze,
impl<T = ()> !RefUnwindSafe for LocationInModule<T>
impl<T> Send for LocationInModule<T>where
T: Send,
impl<T> Sync for LocationInModule<T>where
T: Sync,
impl<T> Unpin for LocationInModule<T>where
T: Unpin,
impl<T = ()> !UnwindSafe for LocationInModule<T>
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