Enum Expr
pub enum Expr {
Input {
name: Symbol,
},
Const {
value: Object,
},
Condition(Box<Condition>),
}Variants§
Implementations§
§impl Expr
impl Expr
pub(crate) fn produce(&self, ctx: &ScriptCtx<'_>) -> ControlFlow
pub(crate) fn is_effect_causing(&self) -> bool
pub(crate) fn check_signature( &self, input_builder: &mut FieldsSigBuilder, required_sig: Option<&ObjectSignature>, ) -> Result<ObjectSignature>
Auto Trait Implementations§
impl Freeze for Expr
impl RefUnwindSafe for Expr
impl Send for Expr
impl Sync for Expr
impl Unpin for Expr
impl UnwindSafe for Expr
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