pub struct AssertItem {
pub when: bool,
pub name: String,
pub cond: Rc<Expr>,
pub tail: Option<Tail>,
pub body: Vec<MemberAst>,
pub origin: Option<String>,
pub menv: Option<Rc<Env>>,
}Fields§
§when: bool§name: String§cond: Rc<Expr>§tail: Option<Tail>§body: Vec<MemberAst>§origin: Option<String>§menv: Option<Rc<Env>>Trait Implementations§
Source§impl Clone for AssertItem
impl Clone for AssertItem
Source§fn clone(&self) -> AssertItem
fn clone(&self) -> AssertItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for AssertItem
impl !Send for AssertItem
impl !Sync for AssertItem
impl !UnwindSafe for AssertItem
impl Freeze for AssertItem
impl Unpin for AssertItem
impl UnsafeUnpin for AssertItem
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