Enum daml_lf::LanguageVersion
source · [−]pub enum LanguageVersion {
Lv0,
Lv1(LanguageV1MinorVersion),
}Expand description
Daml Ledger Fragment language version.
Variants
Lv0
Lv1(LanguageV1MinorVersion)
Implementations
sourceimpl LanguageVersion
impl LanguageVersion
pub const V0: LanguageVersion
pub const V1_0: LanguageVersion
pub const V1_1: LanguageVersion
pub const V1_11: LanguageVersion
pub const V1_12: LanguageVersion
pub const V1_13: LanguageVersion
pub const V1_14: LanguageVersion
pub const V1_2: LanguageVersion
pub const V1_3: LanguageVersion
pub const V1_4: LanguageVersion
pub const V1_5: LanguageVersion
pub const V1_6: LanguageVersion
pub const V1_7: LanguageVersion
pub const V1_8: LanguageVersion
pub const V1_DEV: LanguageVersion
pub fn new_v1(minor: LanguageV1MinorVersion) -> Self
pub fn supports_feature(self, feature_version: &LanguageFeatureVersion) -> bool
Trait Implementations
sourceimpl Clone for LanguageVersion
impl Clone for LanguageVersion
sourcefn clone(&self) -> LanguageVersion
fn clone(&self) -> LanguageVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LanguageVersion
impl Debug for LanguageVersion
sourceimpl Display for LanguageVersion
impl Display for LanguageVersion
sourceimpl Hash for LanguageVersion
impl Hash for LanguageVersion
sourceimpl IntoBoundedStatic for LanguageVersion
impl IntoBoundedStatic for LanguageVersion
type Static = LanguageVersion
type Static = LanguageVersion
The target type is bounded by the 'static lifetime.
sourcefn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned T into an owned T such that T: 'static.
sourceimpl Ord for LanguageVersion
impl Ord for LanguageVersion
sourceimpl PartialEq<LanguageVersion> for LanguageVersion
impl PartialEq<LanguageVersion> for LanguageVersion
sourcefn eq(&self, other: &LanguageVersion) -> bool
fn eq(&self, other: &LanguageVersion) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LanguageVersion) -> bool
fn ne(&self, other: &LanguageVersion) -> bool
This method tests for !=.
sourceimpl PartialOrd<LanguageVersion> for LanguageVersion
impl PartialOrd<LanguageVersion> for LanguageVersion
sourcefn partial_cmp(&self, other: &LanguageVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &LanguageVersion) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl Serialize for LanguageVersion
impl Serialize for LanguageVersion
sourceimpl ToBoundedStatic for LanguageVersion
impl ToBoundedStatic for LanguageVersion
type Static = LanguageVersion
type Static = LanguageVersion
The target type is bounded by the 'static lifetime.
impl Copy for LanguageVersion
impl Eq for LanguageVersion
impl StructuralEq for LanguageVersion
impl StructuralPartialEq for LanguageVersion
Auto Trait Implementations
impl RefUnwindSafe for LanguageVersion
impl Send for LanguageVersion
impl Sync for LanguageVersion
impl Unpin for LanguageVersion
impl UnwindSafe for LanguageVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more