pub struct ConstString<const N: usize> { /* private fields */ }Expand description
ConstString is used to create the storage needed for static strings
that back ThinStrs.
Trait Implementations§
Source§impl<const N: usize> Borrow<InlineString> for ConstString<N>
impl<const N: usize> Borrow<InlineString> for ConstString<N>
Source§fn borrow(&self) -> &InlineString
fn borrow(&self) -> &InlineString
Immutably borrows from an owned value. Read more
Auto Trait Implementations§
impl<const N: usize> Freeze for ConstString<N>
impl<const N: usize> RefUnwindSafe for ConstString<N>
impl<const N: usize> Send for ConstString<N>
impl<const N: usize> Sync for ConstString<N>
impl<const N: usize> Unpin for ConstString<N>
impl<const N: usize> UnwindSafe for ConstString<N>
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