pub struct Float(/* private fields */);
Implementations§
Source§impl Float
impl Float
pub fn new(context: &Context, layout: Layout) -> Self
pub fn from_type(t: &Type) -> Self
pub fn get(&self) -> &MlirType
pub fn get_layout(&self) -> Layout
pub fn get_mut(&mut self) -> &mut MlirType
pub fn get_type_id(layout: Layout) -> TypeID
pub fn get_width(&self) -> usize
pub fn is(&self, layout: Layout) -> bool
pub fn is_f8_e5_m2(&self) -> bool
pub fn is_f8_e4_m3(&self) -> bool
pub fn is_f8_e4_m3_fn(&self) -> bool
pub fn is_f8_e5_m2_fnuz(&self) -> bool
pub fn is_f8_e4_m3_fnuz(&self) -> bool
pub fn is_f8_e4_m3_b11_fnuz(&self) -> bool
pub fn is_bf16(&self) -> bool
pub fn is_f16(&self) -> bool
pub fn is_f32(&self) -> bool
pub fn is_f64(&self) -> bool
pub fn is_tf32(&self) -> bool
Trait Implementations§
Source§impl IsPromotableTo<Float> for Float
impl IsPromotableTo<Float> for Float
fn is_promotable_to(&self, other: &Self) -> bool
Auto Trait Implementations§
impl Freeze for Float
impl RefUnwindSafe for Float
impl !Send for Float
impl !Sync for Float
impl Unpin for Float
impl UnwindSafe for Float
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