pub enum ProjectionLanguage {
Rust,
TypeScript,
}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.
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