pub struct FastMath(/* private fields */);
Implementations§
Source§impl FastMath
impl FastMath
pub fn new(context: &Context, flags: FastMathFlagsBitVector) -> Self
pub fn new_vec(context: &Context, flags: &[FastMathFlags]) -> Self
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl From<MlirAttribute> for FastMath
impl From<MlirAttribute> for FastMath
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for FastMath
impl IAttribute for FastMath
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 FastMath
impl IAttributeNamed for FastMath
Source§impl NamedParsed for FastMath
impl NamedParsed for FastMath
fn new(context: &Context, s: &StringRef) -> Self
fn new_custom(context: &Context, cad: &CustomAttributeData) -> Self
Auto Trait Implementations§
impl Freeze for FastMath
impl RefUnwindSafe for FastMath
impl !Send for FastMath
impl !Sync for FastMath
impl Unpin for FastMath
impl UnwindSafe for FastMath
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