Struct nvbit_model::Predicate
source · pub struct Predicate {
pub num: c_int,
pub is_neg: bool,
pub is_uniform: bool,
}Expand description
An instruction operand predicate.
Fields§
§num: c_intpredicate number
is_neg: boolwhether predicate is negated (i.e. @!P0).
is_uniform: boolwhether predicate is uniform predicate (e.g., @UP0).
Trait Implementations§
source§impl<'de> Deserialize<'de> for Predicate
impl<'de> Deserialize<'de> for Predicate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Predicate> for Predicate
impl PartialEq<Predicate> for Predicate
impl Eq for Predicate
impl StructuralEq for Predicate
impl StructuralPartialEq for Predicate
Auto Trait Implementations§
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnwindSafe for Predicate
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