pub struct InstanceType<'a> {
pub decls: Vec<InstanceTypeDecl<'a>>,
}Available on crate feature
component-model only.Expand description
A type definition for an instance type.
Fields§
§decls: Vec<InstanceTypeDecl<'a>>The declarations of the instance type.
Trait Implementations§
Source§impl<'a> Debug for InstanceType<'a>
impl<'a> Debug for InstanceType<'a>
Source§impl From<&InstanceType<'_>> for InstanceType
impl From<&InstanceType<'_>> for InstanceType
Source§fn from(ty: &InstanceType<'_>) -> Self
fn from(ty: &InstanceType<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for InstanceType<'a>
impl<'a> RefUnwindSafe for InstanceType<'a>
impl<'a> Send for InstanceType<'a>
impl<'a> Sync for InstanceType<'a>
impl<'a> Unpin for InstanceType<'a>
impl<'a> UnwindSafe for InstanceType<'a>
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