pub struct BoolValue(/* private fields */);
Implementations§
Source§impl BoolValue
impl BoolValue
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl From<MlirAttribute> for BoolValue
impl From<MlirAttribute> for BoolValue
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for BoolValue
impl IAttribute for BoolValue
fn get(&self) -> &MlirAttribute
fn get_mut(&mut self) -> &mut MlirAttribute
fn as_attribute(&self) -> Attribute
fn get_context(&self) -> Context
fn get_type(&self) -> Type
Source§impl IAttributeNamed for BoolValue
impl IAttributeNamed for BoolValue
Auto Trait Implementations§
impl Freeze for BoolValue
impl RefUnwindSafe for BoolValue
impl !Send for BoolValue
impl !Sync for BoolValue
impl Unpin for BoolValue
impl UnwindSafe for BoolValue
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