Trait Takeable
weld::ast
pub trait Takeable: Placeholder { fn take(&mut self) -> Self; }
Takes an expression, replacing it with a placeholder.
fn take(&mut self) -> Self
impl Takeable for Box<Expr>
fn take(&mut self) -> Box<Expr>
impl Takeable for Expr
fn take(&mut self) -> Expr