pub struct TernaryExpression {
pub span: Span,
pub condition: TestOperand,
pub consequence: TestOperand,
pub alternative: TestOperand,
}Fields§
§span: Span§condition: TestOperand§consequence: TestOperand§alternative: TestOperandTrait Implementations§
Source§impl Clone for TernaryExpression
impl Clone for TernaryExpression
Source§fn clone(&self) -> TernaryExpression
fn clone(&self) -> TernaryExpression
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 moreSource§impl Debug for TernaryExpression
impl Debug for TernaryExpression
Source§impl<'de> Deserialize<'de> for TernaryExpression
impl<'de> Deserialize<'de> for TernaryExpression
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 PartialEq for TernaryExpression
impl PartialEq for TernaryExpression
Source§impl Serialize for TernaryExpression
impl Serialize for TernaryExpression
impl StructuralPartialEq for TernaryExpression
Auto Trait Implementations§
impl Freeze for TernaryExpression
impl RefUnwindSafe for TernaryExpression
impl Send for TernaryExpression
impl Sync for TernaryExpression
impl Unpin for TernaryExpression
impl UnsafeUnpin for TernaryExpression
impl UnwindSafe for TernaryExpression
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