Struct rsjsonnet_lang::ast::Assert
source · pub struct Assert {
pub span: SpanId,
pub cond: Expr,
pub msg: Option<Expr>,
}Fields§
§span: SpanId§cond: Expr§msg: Option<Expr>Trait Implementations§
source§impl PartialEq for Assert
impl PartialEq for Assert
impl Eq for Assert
impl StructuralPartialEq for Assert
Auto Trait Implementations§
impl Freeze for Assert
impl RefUnwindSafe for Assert
impl !Send for Assert
impl !Sync for Assert
impl Unpin for Assert
impl UnwindSafe for Assert
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