pub struct PluginApiCatalog {
pub interfaces: Vec<ApiInterface>,
pub worlds: Vec<ApiWorld>,
}Expand description
The whole plugin-API surface, derived from wit/.
Fields§
§interfaces: Vec<ApiInterface>Every named interface in the package, sorted by name.
worlds: Vec<ApiWorld>Every plugin world (the test-only trampoline-fixture excluded), sorted
by name.
Implementations§
Trait Implementations§
Source§impl Clone for PluginApiCatalog
impl Clone for PluginApiCatalog
Source§fn clone(&self) -> PluginApiCatalog
fn clone(&self) -> PluginApiCatalog
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginApiCatalog
impl Debug for PluginApiCatalog
impl Eq for PluginApiCatalog
Source§impl PartialEq for PluginApiCatalog
impl PartialEq for PluginApiCatalog
impl StructuralPartialEq for PluginApiCatalog
Auto Trait Implementations§
impl Freeze for PluginApiCatalog
impl RefUnwindSafe for PluginApiCatalog
impl Send for PluginApiCatalog
impl Sync for PluginApiCatalog
impl Unpin for PluginApiCatalog
impl UnsafeUnpin for PluginApiCatalog
impl UnwindSafe for PluginApiCatalog
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