Struct mlir_sys::MlirLogicalResult
source · #[repr(C)]pub struct MlirLogicalResult {
pub value: i8,
}
Expand description
A logical result value, essentially a boolean with named states. LLVM convention for using boolean values to designate success or failure of an operation is a moving target, so MLIR opted for an explicit class. Instances of MlirLogicalResult must only be inspected using the associated functions.
Fields§
§value: i8
Trait Implementations§
source§impl Clone for MlirLogicalResult
impl Clone for MlirLogicalResult
source§fn clone(&self) -> MlirLogicalResult
fn clone(&self) -> MlirLogicalResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MlirLogicalResult
impl Debug for MlirLogicalResult
impl Copy for MlirLogicalResult
Auto Trait Implementations§
impl RefUnwindSafe for MlirLogicalResult
impl Send for MlirLogicalResult
impl Sync for MlirLogicalResult
impl Unpin for MlirLogicalResult
impl UnwindSafe for MlirLogicalResult
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