pub struct Interning<'a>(pub &'a mut StringInterner);Expand description
通常の intern を行うラッパー
Tuple Fields§
§0: &'a mut StringInternerTrait Implementations§
Source§impl IdentResolver for Interning<'_>
impl IdentResolver for Interning<'_>
Source§fn resolve_ident(&mut self, s: &str) -> Option<InternedStr>
fn resolve_ident(&mut self, s: &str) -> Option<InternedStr>
識別子文字列を InternedStr に解決 Read more
Auto Trait Implementations§
impl<'a> Freeze for Interning<'a>
impl<'a> RefUnwindSafe for Interning<'a>
impl<'a> Send for Interning<'a>
impl<'a> Sync for Interning<'a>
impl<'a> Unpin for Interning<'a>
impl<'a> UnsafeUnpin for Interning<'a>
impl<'a> !UnwindSafe for Interning<'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