enum Inner {
Native(Box<str>),
Foreign {
ptr: NonNull<c_char>,
len: usize,
},
Inline {
len: u8,
data: [u8; 22],
},
}
Variants§
Auto Trait Implementations§
impl Freeze for Inner
impl RefUnwindSafe for Inner
impl !Send for Inner
impl !Sync for Inner
impl Unpin for Inner
impl UnwindSafe for Inner
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