pub(crate) struct NameQ<'a>(pub &'a str);Expand description
Rc<str> を鍵にした表を &str で引くときの問い合わせ(key_eq で比べる。str の == は memcmp を呼ぶ)。
ハッシュは str と同じ。
Tuple Fields§
§0: &'a strTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NameQ<'a>
impl<'a> RefUnwindSafe for NameQ<'a>
impl<'a> Send for NameQ<'a>
impl<'a> Sync for NameQ<'a>
impl<'a> Unpin for NameQ<'a>
impl<'a> UnsafeUnpin for NameQ<'a>
impl<'a> UnwindSafe for NameQ<'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