pub struct WorldShape {
pub imports: BTreeSet<String>,
pub exports: BTreeSet<String>,
}Expand description
What a world lets a component import and requires it to export.
Fields§
§imports: BTreeSet<String>Interface names (standard:plugin/values@2.0.0) and the types the
world uses (event, power).
exports: BTreeSet<String>Exported function names (activate, frame, …) and interface
names (standard:plugin/companion@2.0.0).
Trait Implementations§
Source§impl Clone for WorldShape
impl Clone for WorldShape
Source§impl Debug for WorldShape
impl Debug for WorldShape
impl Eq for WorldShape
Source§impl PartialEq for WorldShape
impl PartialEq for WorldShape
impl StructuralPartialEq for WorldShape
Auto Trait Implementations§
impl Freeze for WorldShape
impl RefUnwindSafe for WorldShape
impl Send for WorldShape
impl Sync for WorldShape
impl Unpin for WorldShape
impl UnsafeUnpin for WorldShape
impl UnwindSafe for WorldShape
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.