pub enum FsharpExpr {
Plain(Expr),
OptionalSlot(Expr),
}Expand description
An expression, with the one property the walk’s seams cannot carry
on a bare fsharp::Expr: whether the destination is an
@optional member’s 'T option slot, which needs the decoded value
wrapped in Some.
Variants§
Plain(Expr)
An ordinary expression.
OptionalSlot(Expr)
The 'T option field of an @optional member, as a place a
decoded T is about to be written into.
Trait Implementations§
Source§impl Clone for FsharpExpr
impl Clone for FsharpExpr
Auto Trait Implementations§
impl Freeze for FsharpExpr
impl RefUnwindSafe for FsharpExpr
impl Send for FsharpExpr
impl Sync for FsharpExpr
impl Unpin for FsharpExpr
impl UnsafeUnpin for FsharpExpr
impl UnwindSafe for FsharpExpr
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