pub struct CaseValues(/* private fields */);
Implementations§
Source§impl CaseValues
impl CaseValues
pub fn new(t: &IntegerType, elements: &[i64]) -> Self
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl Clone for CaseValues
impl Clone for CaseValues
Source§fn clone(&self) -> CaseValues
fn clone(&self) -> CaseValues
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 From<MlirAttribute> for CaseValues
impl From<MlirAttribute> for CaseValues
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for CaseValues
impl IAttribute for CaseValues
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 CaseValues
impl IAttributeNamed for CaseValues
Source§impl NamedIntegerDenseElements for CaseValues
impl NamedIntegerDenseElements for CaseValues
fn new(t: &Shaped, elements: &[i64]) -> Self
fn new_i8(t: &Shaped, elements: &[i8]) -> Self
fn new_i16(t: &Shaped, elements: &[i16]) -> Self
fn new_i32(t: &Shaped, elements: &[i32]) -> Self
fn new_i64(t: &Shaped, elements: &[i64]) -> Self
fn from_checked(attr: MlirAttribute) -> Self
fn as_dense_elements(&self) -> DenseElements
Auto Trait Implementations§
impl Freeze for CaseValues
impl RefUnwindSafe for CaseValues
impl !Send for CaseValues
impl !Sync for CaseValues
impl Unpin for CaseValues
impl UnwindSafe for CaseValues
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