pub struct StepsParallel(/* private fields */);
Implementations§
Source§impl StepsParallel
impl StepsParallel
pub fn new(context: &Context, ops: &[i64]) -> Self
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl Clone for StepsParallel
impl Clone for StepsParallel
Source§fn clone(&self) -> StepsParallel
fn clone(&self) -> StepsParallel
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 StepsParallel
impl From<MlirAttribute> for StepsParallel
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for StepsParallel
impl IAttribute for StepsParallel
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 StepsParallel
impl IAttributeNamed for StepsParallel
Source§impl NamedArrayOfIntegers for StepsParallel
impl NamedArrayOfIntegers for StepsParallel
fn new(context: &Context, elements: &[IntegerAttr]) -> Self
fn new_i32(context: &Context, elements: &[i32]) -> Self
fn new_i64(context: &Context, elements: &[i64]) -> Self
fn from_checked(attr: MlirAttribute) -> Self
fn as_array(&self) -> Array
fn as_integers(&self) -> Vec<IntegerAttr>
fn num_elements(&self) -> isize
Auto Trait Implementations§
impl Freeze for StepsParallel
impl RefUnwindSafe for StepsParallel
impl !Send for StepsParallel
impl !Sync for StepsParallel
impl Unpin for StepsParallel
impl UnwindSafe for StepsParallel
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