pub struct AdmittedStr { /* private fields */ }Expand description
A native string whose allocation remains charged until its buffer is dropped. Only borrowed access is exposed so the reservation cannot be separated from the buffer.
Implementations§
Auto Trait Implementations§
impl Freeze for AdmittedStr
impl RefUnwindSafe for AdmittedStr
impl Send for AdmittedStr
impl Sync for AdmittedStr
impl Unpin for AdmittedStr
impl UnsafeUnpin for AdmittedStr
impl UnwindSafe for AdmittedStr
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