#[non_exhaustive]pub enum BindingTarget {
Python,
TypeScript,
Rust,
C,
}Expand description
A binding target with a consumed Phase 3 projection contract.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Python
Generated Python source and typing artifacts.
TypeScript
Generated TypeScript source and declarations.
Rust
Generated native Rust types and schema tokens.
C
Generated C source, headers, and schema-package metadata.
Implementations§
Trait Implementations§
Source§impl Clone for BindingTarget
impl Clone for BindingTarget
Source§fn clone(&self) -> BindingTarget
fn clone(&self) -> BindingTarget
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 BindingTarget
Source§impl Debug for BindingTarget
impl Debug for BindingTarget
impl Eq for BindingTarget
Source§impl Hash for BindingTarget
impl Hash for BindingTarget
Source§impl Ord for BindingTarget
impl Ord for BindingTarget
Source§fn cmp(&self, other: &BindingTarget) -> Ordering
fn cmp(&self, other: &BindingTarget) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BindingTarget
impl PartialEq for BindingTarget
Source§impl PartialOrd for BindingTarget
impl PartialOrd for BindingTarget
Source§impl Serialize for BindingTarget
impl Serialize for BindingTarget
impl StructuralPartialEq for BindingTarget
Auto Trait Implementations§
impl Freeze for BindingTarget
impl RefUnwindSafe for BindingTarget
impl Send for BindingTarget
impl Sync for BindingTarget
impl Unpin for BindingTarget
impl UnsafeUnpin for BindingTarget
impl UnwindSafe for BindingTarget
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