pub struct LocationName<'me> {
pub location: DefinitionLocation,
pub name: Cow<'me, str>,
}Fields§
§location: DefinitionLocation§name: Cow<'me, str>Implementations§
Source§impl<'me> LocationName<'me>
impl<'me> LocationName<'me>
Trait Implementations§
Source§impl<'me> Clone for LocationName<'me>
impl<'me> Clone for LocationName<'me>
Source§fn clone(&self) -> LocationName<'me>
fn clone(&self) -> LocationName<'me>
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<'me> Freeze for LocationName<'me>
impl<'me> RefUnwindSafe for LocationName<'me>
impl<'me> Send for LocationName<'me>
impl<'me> Sync for LocationName<'me>
impl<'me> Unpin for LocationName<'me>
impl<'me> UnsafeUnpin for LocationName<'me>
impl<'me> UnwindSafe for LocationName<'me>
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