#[repr(C)]pub struct AllocatedString {
pub pointer: *mut u8,
pub len: usize,
}Expand description
A pointer and length pair for a UTF-8 string.
Fields§
§pointer: *mut u8§len: usizeAuto Trait Implementations§
impl Freeze for AllocatedString
impl RefUnwindSafe for AllocatedString
impl !Send for AllocatedString
impl !Sync for AllocatedString
impl Unpin for AllocatedString
impl UnsafeUnpin for AllocatedString
impl UnwindSafe for AllocatedString
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