pub struct InstanceType {
pub kind: CoreInstanceTypeKind,
/* private fields */
}
Available on crate features
validate
and component-model
only.Expand description
Represents a module instance type.
Fields§
§kind: CoreInstanceTypeKind
The kind of module instance type.
Implementations§
Source§impl InstanceType
impl InstanceType
Trait Implementations§
Source§impl Clone for InstanceType
impl Clone for InstanceType
Source§fn clone(&self) -> InstanceType
fn clone(&self) -> InstanceType
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 InstanceType
impl Debug for InstanceType
Source§impl TypeData for InstanceType
impl TypeData for InstanceType
Source§type Id = ComponentCoreInstanceTypeId
type Id = ComponentCoreInstanceTypeId
The identifier for this type data.
Auto Trait Implementations§
impl Freeze for InstanceType
impl RefUnwindSafe for InstanceType
impl Send for InstanceType
impl Sync for InstanceType
impl Unpin for InstanceType
impl UnwindSafe for InstanceType
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
)