Struct atri_ffi::RustString
source · [−]Fields
ptr: *mut u8
len: usize
capacity: usize
Trait Implementations
sourceimpl AsRef<str> for RustString
impl AsRef<str> for RustString
sourceimpl From<RustString> for String
impl From<RustString> for String
sourcefn from(s: RustString) -> Self
fn from(s: RustString) -> Self
Converts to this type from the input type.
sourceimpl From<String> for RustString
impl From<String> for RustString
Auto Trait Implementations
impl RefUnwindSafe for RustString
impl !Send for RustString
impl !Sync for RustString
impl Unpin for RustString
impl UnwindSafe for RustString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more