pub struct NameRef(/* private fields */);Expand description
A host or intrinsic name stored in a mapping, from
MappingBuilder::name.
§Examples
let mut b = lower_lang::MappingBuilder::<u8>::new();
let concat = b.name("mox.concat");
assert_ne!(concat, b.name("mox.echo"));Trait Implementations§
impl Copy for NameRef
impl Eq for NameRef
impl StructuralPartialEq for NameRef
Auto Trait Implementations§
impl Freeze for NameRef
impl RefUnwindSafe for NameRef
impl Send for NameRef
impl Sync for NameRef
impl Unpin for NameRef
impl UnsafeUnpin for NameRef
impl UnwindSafe for NameRef
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