Struct swc_ecma_ast::CondExpr
source · [−]pub struct CondExpr {
pub span: Span,
pub test: Box<Expr>,
pub cons: Box<Expr>,
pub alt: Box<Expr>,
}
Fields
span: Span
test: Box<Expr>
cons: Box<Expr>
alt: Box<Expr>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for CondExpr
impl<'de> Deserialize<'de> for CondExpr
sourcefn 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
sourceimpl EqIgnoreSpan for CondExpr
impl EqIgnoreSpan for CondExpr
fn eq_ignore_span(&self, other: &Self) -> bool
impl Eq for CondExpr
impl StructuralEq for CondExpr
impl StructuralPartialEq for CondExpr
Auto Trait Implementations
impl RefUnwindSafe for CondExpr
impl Send for CondExpr
impl Sync for CondExpr
impl Unpin for CondExpr
impl UnwindSafe for CondExpr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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