pub enum ProjectionLanguage {
Rust,
TypeScript,
Wit,
RustRuntime,
}Expand description
One language projection emitted from a portable Capability contract.
Variants§
Rust
Native Rust value, consumer, and provider bindings.
TypeScript
TypeScript value, consumer, and provider bindings.
Wit
WebAssembly Component Model WIT provider and consumer worlds.
RustRuntime
Rust bindings plus the generated byte-Adapter Capability codec.
Trait Implementations§
Source§impl Clone for ProjectionLanguage
impl Clone for ProjectionLanguage
Source§fn clone(&self) -> ProjectionLanguage
fn clone(&self) -> ProjectionLanguage
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 moreimpl Copy for ProjectionLanguage
Source§impl Debug for ProjectionLanguage
impl Debug for ProjectionLanguage
impl Eq for ProjectionLanguage
Source§impl PartialEq for ProjectionLanguage
impl PartialEq for ProjectionLanguage
impl StructuralPartialEq for ProjectionLanguage
Auto Trait Implementations§
impl Freeze for ProjectionLanguage
impl RefUnwindSafe for ProjectionLanguage
impl Send for ProjectionLanguage
impl Sync for ProjectionLanguage
impl Unpin for ProjectionLanguage
impl UnsafeUnpin for ProjectionLanguage
impl UnwindSafe for ProjectionLanguage
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.