pub struct PredicateConstraintObj {
pub condition: PrimExpr,
pub assume_always: bool,
/* private fields */
}Expand description
The object behind PredicateConstraint.
Fields§
§condition: PrimExpr§assume_always: boolTrait Implementations§
Source§impl Deref for PredicateConstraintObj
impl Deref for PredicateConstraintObj
Source§type Target = ConstraintObj
type Target = ConstraintObj
The resulting type after dereferencing.
Source§fn deref(&self) -> &ConstraintObj
fn deref(&self) -> &ConstraintObj
Dereferences the value.
Source§impl<'a> From<&'a PredicateConstraintObj> for AnyView<'a>
impl<'a> From<&'a PredicateConstraintObj> for AnyView<'a>
Source§fn from(value: &'a PredicateConstraintObj) -> Self
fn from(value: &'a PredicateConstraintObj) -> Self
Converts to this type from the input type.
Source§impl ObjectCore for PredicateConstraintObj
impl ObjectCore for PredicateConstraintObj
Source§const TYPE_DEPTH: i32
const TYPE_DEPTH: i32
Depth of this type in the object inheritance tree. Read more
Source§type Parent = ConstraintObj
type Parent = ConstraintObj
Source§fn type_index() -> i32
fn type_index() -> i32
The runtime type index of this type.
Source§unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
The object header, mutably. Read more
impl ImmutableObject for PredicateConstraintObj
Auto Trait Implementations§
impl !Freeze for PredicateConstraintObj
impl RefUnwindSafe for PredicateConstraintObj
impl Send for PredicateConstraintObj
impl Sync for PredicateConstraintObj
impl Unpin for PredicateConstraintObj
impl UnsafeUnpin for PredicateConstraintObj
impl UnwindSafe for PredicateConstraintObj
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