pub struct AssertStmtObj {
pub condition: PrimExpr,
pub error_kind: StringImm,
pub message_parts: Array<StringImm>,
/* private fields */
}Expand description
The object behind AssertStmt.
Fields§
§condition: PrimExpr§error_kind: StringImm§message_parts: Array<StringImm>Trait Implementations§
Source§impl Deref for AssertStmtObj
impl Deref for AssertStmtObj
Source§impl<'a> From<&'a AssertStmtObj> for AnyView<'a>
impl<'a> From<&'a AssertStmtObj> for AnyView<'a>
Source§fn from(value: &'a AssertStmtObj) -> Self
fn from(value: &'a AssertStmtObj) -> Self
Converts to this type from the input type.
Source§impl ObjectCore for AssertStmtObj
impl ObjectCore for AssertStmtObj
impl ImmutableObject for AssertStmtObj
Auto Trait Implementations§
impl !Freeze for AssertStmtObj
impl RefUnwindSafe for AssertStmtObj
impl Send for AssertStmtObj
impl Sync for AssertStmtObj
impl Unpin for AssertStmtObj
impl UnsafeUnpin for AssertStmtObj
impl UnwindSafe for AssertStmtObj
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