pub struct ComponentShape {
pub imports: Vec<String>,
pub type_imports: Vec<String>,
pub exports: Vec<String>,
pub function_imports: Vec<String>,
}Fields§
§imports: Vec<String>Top-level instance and function import names
(standard:plugin/values@2.0.0, wasi:...).
type_imports: Vec<String>Top-level type imports (event, json): bound to a type the
component defines, they need nothing from the host.
exports: Vec<String>Top-level export names (activate, …).
function_imports: Vec<String>The instance imports the component takes at least one function
from; an interface imported only for its types (account for the
daemon world’s pane) is not among them.
Trait Implementations§
Source§impl Clone for ComponentShape
impl Clone for ComponentShape
Source§impl Debug for ComponentShape
impl Debug for ComponentShape
Source§impl Default for ComponentShape
impl Default for ComponentShape
impl Eq for ComponentShape
Source§impl PartialEq for ComponentShape
impl PartialEq for ComponentShape
impl StructuralPartialEq for ComponentShape
Auto Trait Implementations§
impl Freeze for ComponentShape
impl RefUnwindSafe for ComponentShape
impl Send for ComponentShape
impl Sync for ComponentShape
impl Unpin for ComponentShape
impl UnsafeUnpin for ComponentShape
impl UnwindSafe for ComponentShape
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.