#[repr(C)]pub struct AbiStr {
pub ptr: *const u8,
pub len: usize,
}Expand description
A borrowed UTF-8 string: len bytes at ptr.
Fields§
§ptr: *const u8§len: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for AbiStr
impl !Sync for AbiStr
impl Freeze for AbiStr
impl RefUnwindSafe for AbiStr
impl Unpin for AbiStr
impl UnsafeUnpin for AbiStr
impl UnwindSafe for AbiStr
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