#[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.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 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
)