pub struct StaticLow(/* private fields */);
Implementations§
Source§impl StaticLow
impl StaticLow
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl From<MlirAttribute> for StaticLow
impl From<MlirAttribute> for StaticLow
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for StaticLow
impl IAttribute for StaticLow
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 StaticLow
impl IAttributeNamed for StaticLow
Source§impl NamedI64DenseArray for StaticLow
impl NamedI64DenseArray for StaticLow
fn new(context: &Context, values: &[i64]) -> Self
fn from_checked(attr: MlirAttribute) -> Self
fn as_dense_array(&self) -> DenseArray
fn num_elements(&self) -> isize
Auto Trait Implementations§
impl Freeze for StaticLow
impl RefUnwindSafe for StaticLow
impl !Send for StaticLow
impl !Sync for StaticLow
impl Unpin for StaticLow
impl UnwindSafe for StaticLow
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