#[repr(C)]pub struct WasmEdge_String {
pub Length: u32,
pub Buf: *const c_char,
}
Expand description
WasmEdge string struct.
Fields§
§Length: u32
§Buf: *const c_char
Trait Implementations§
Source§impl AsMut<WasmEdge_String> for WasmEdgeString
impl AsMut<WasmEdge_String> for WasmEdgeString
Source§fn as_mut(&mut self) -> &mut WasmEdge_String
fn as_mut(&mut self) -> &mut WasmEdge_String
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<WasmEdge_String> for WasmEdgeString
impl AsRef<WasmEdge_String> for WasmEdgeString
Source§fn as_ref(&self) -> &WasmEdge_String
fn as_ref(&self) -> &WasmEdge_String
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for WasmEdge_String
impl Clone for WasmEdge_String
Source§fn clone(&self) -> WasmEdge_String
fn clone(&self) -> WasmEdge_String
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WasmEdge_String
impl Debug for WasmEdge_String
Source§impl From<&WasmEdge_String> for &CStr
impl From<&WasmEdge_String> for &CStr
Source§fn from(s: &WasmEdge_String) -> Self
fn from(s: &WasmEdge_String) -> Self
Converts to this type from the input type.
Source§impl From<&WasmEdge_String> for String
impl From<&WasmEdge_String> for String
Source§fn from(s: &WasmEdge_String) -> Self
fn from(s: &WasmEdge_String) -> Self
Converts to this type from the input type.
Source§impl From<WasmEdge_String> for &CStr
impl From<WasmEdge_String> for &CStr
Source§fn from(s: WasmEdge_String) -> Self
fn from(s: WasmEdge_String) -> Self
Converts to this type from the input type.
Source§impl From<WasmEdge_String> for String
impl From<WasmEdge_String> for String
Source§fn from(s: WasmEdge_String) -> Self
fn from(s: WasmEdge_String) -> Self
Converts to this type from the input type.
impl Copy for WasmEdge_String
Auto Trait Implementations§
impl Freeze for WasmEdge_String
impl RefUnwindSafe for WasmEdge_String
impl !Send for WasmEdge_String
impl !Sync for WasmEdge_String
impl Unpin for WasmEdge_String
impl UnwindSafe for WasmEdge_String
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