pub struct CellDecl {
pub span: Span,
pub effect: Option<EffectClass>,
pub name: String,
pub params: Vec<Param>,
pub expr: Expr,
pub when: Option<Expr>,
}Expand description
A reactive cell declaration (e.g. cell score := math.clamp(raw, 0, 100);).
Fields§
§span: Span§effect: Option<EffectClass>§name: String§params: Vec<Param>§expr: Expr§when: Option<Expr>Trait Implementations§
impl StructuralPartialEq for CellDecl
Auto Trait Implementations§
impl Freeze for CellDecl
impl RefUnwindSafe for CellDecl
impl Send for CellDecl
impl Sync for CellDecl
impl Unpin for CellDecl
impl UnsafeUnpin for CellDecl
impl UnwindSafe for CellDecl
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