pub struct DefaultInterner(/* private fields */);Trait Implementations§
Source§impl Default for DefaultInterner
impl Default for DefaultInterner
Source§impl Intern for DefaultInterner
impl Intern for DefaultInterner
type InternedStr<'a> = Arc<str> where Self: 'a
fn intern_formatted_str<T: Display + ?Sized>( &self, value: &T, _: usize, ) -> StdResult<Self::InternedStr<'_>, Error>
fn intern_str(&self, text: &str) -> Self::InternedStr<'_>
Auto Trait Implementations§
impl !Freeze for DefaultInterner
impl RefUnwindSafe for DefaultInterner
impl Send for DefaultInterner
impl Sync for DefaultInterner
impl Unpin for DefaultInterner
impl UnwindSafe for DefaultInterner
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