pub struct RefDict<'a>(/* private fields */);Expand description
This type provides a Dict over non-owned data. It may be used in tests, or to implement a
static compile-time dictionary, giving the compiler maximum freedom as to how to lay out the
string slices.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RefDict<'a>
impl<'a> RefUnwindSafe for RefDict<'a>
impl<'a> Send for RefDict<'a>
impl<'a> Sync for RefDict<'a>
impl<'a> Unpin for RefDict<'a>
impl<'a> UnsafeUnpin for RefDict<'a>
impl<'a> UnwindSafe for RefDict<'a>
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