pub struct WasiVariantCase {
pub name: String,
pub case_type: Option<WasiType>,
}Expand description
变体情况
Fields§
§name: String情况名称
case_type: Option<WasiType>情况类型(可选)
Trait Implementations§
Source§impl Clone for WasiVariantCase
impl Clone for WasiVariantCase
Source§fn clone(&self) -> WasiVariantCase
fn clone(&self) -> WasiVariantCase
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for WasiVariantCase
impl RefUnwindSafe for WasiVariantCase
impl Send for WasiVariantCase
impl Sync for WasiVariantCase
impl Unpin for WasiVariantCase
impl UnsafeUnpin for WasiVariantCase
impl UnwindSafe for WasiVariantCase
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