#[repr(C)]pub struct TSWasmError {
pub kind: TSWasmErrorKind,
pub message: *mut c_char,
}
Fields§
§kind: TSWasmErrorKind
§message: *mut c_char
Trait Implementations§
source§impl Clone for TSWasmError
impl Clone for TSWasmError
source§fn clone(&self) -> TSWasmError
fn clone(&self) -> TSWasmError
Returns a copy of the value. Read more
1.6.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 TSWasmError
impl Debug for TSWasmError
impl Copy for TSWasmError
Auto Trait Implementations§
impl Freeze for TSWasmError
impl RefUnwindSafe for TSWasmError
impl !Send for TSWasmError
impl !Sync for TSWasmError
impl Unpin for TSWasmError
impl UnwindSafe for TSWasmError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)