Struct wasmer_wit_parser::Resource
source · [−]pub struct Resource {
pub docs: Docs,
pub name: String,
pub supertype: Option<String>,
pub foreign_module: Option<String>,
}
Fields
docs: Docs
name: String
supertype: Option<String>
foreign_module: Option<String>
None
if this resource is defined within the containing instance,
otherwise Some
if it’s defined in an instance named here.
Trait Implementations
sourceimpl PartialEq<Resource> for Resource
impl PartialEq<Resource> for Resource
impl StructuralPartialEq for Resource
Auto Trait Implementations
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more