pub enum TernaryExpr {
Affine(Affine),
}
Variants§
Implementations§
Source§impl TernaryExpr
impl TernaryExpr
Trait Implementations§
Source§impl Clone for TernaryExpr
impl Clone for TernaryExpr
Source§fn clone(&self) -> TernaryExpr
fn clone(&self) -> TernaryExpr
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 TernaryExpr
impl Debug for TernaryExpr
Source§impl<'de> Deserialize<'de> for TernaryExpr
impl<'de> Deserialize<'de> for TernaryExpr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TernaryExpr
impl Display for TernaryExpr
Source§impl<'_enum> From<&'_enum TernaryExpr> for TernaryOp
impl<'_enum> From<&'_enum TernaryExpr> for TernaryOp
Source§fn from(val: &'_enum TernaryExpr) -> TernaryOp
fn from(val: &'_enum TernaryExpr) -> TernaryOp
Converts to this type from the input type.
Source§impl From<TernaryExpr> for TernaryOp
impl From<TernaryExpr> for TernaryOp
Source§fn from(val: TernaryExpr) -> TernaryOp
fn from(val: TernaryExpr) -> TernaryOp
Converts to this type from the input type.
Source§impl Hash for TernaryExpr
impl Hash for TernaryExpr
Source§impl IntoDiscriminant for TernaryExpr
impl IntoDiscriminant for TernaryExpr
Source§type Discriminant = TernaryOp
type Discriminant = TernaryOp
Enum listing the same variants as this enum but without any data fields
fn discriminant(&self) -> Self::Discriminant
Source§impl Ord for TernaryExpr
impl Ord for TernaryExpr
Source§fn cmp(&self, other: &TernaryExpr) -> Ordering
fn cmp(&self, other: &TernaryExpr) -> Ordering
1.21.0 · 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
Source§impl PartialEq for TernaryExpr
impl PartialEq for TernaryExpr
Source§impl PartialOrd for TernaryExpr
impl PartialOrd for TernaryExpr
Source§impl Serialize for TernaryExpr
impl Serialize for TernaryExpr
Source§impl VariantNames for TernaryExpr
impl VariantNames for TernaryExpr
impl Copy for TernaryExpr
impl Eq for TernaryExpr
impl StructuralPartialEq for TernaryExpr
Auto Trait Implementations§
impl Freeze for TernaryExpr
impl RefUnwindSafe for TernaryExpr
impl Send for TernaryExpr
impl Sync for TernaryExpr
impl Unpin for TernaryExpr
impl UnwindSafe for TernaryExpr
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