pub enum WorldSource {
Metadata,
Component,
}Expand description
Indicates how a world was decoded from a wasm binary.
Variants§
Metadata
Metadata was decoded from a core wasm module.
Component
WIT was reconstructed from a fully-fledged component.
Trait Implementations§
Source§impl Clone for WorldSource
impl Clone for WorldSource
Source§fn clone(&self) -> WorldSource
fn clone(&self) -> WorldSource
Returns a duplicate of the value. Read more
1.0.0 · 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 WorldSource
impl Debug for WorldSource
Source§impl PartialEq for WorldSource
impl PartialEq for WorldSource
impl Copy for WorldSource
impl Eq for WorldSource
impl StructuralPartialEq for WorldSource
Auto Trait Implementations§
impl Freeze for WorldSource
impl RefUnwindSafe for WorldSource
impl Send for WorldSource
impl Sync for WorldSource
impl Unpin for WorldSource
impl UnwindSafe for WorldSource
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.