pub struct ScatterDimensions(/* private fields */);
Implementations§
Source§impl ScatterDimensions
impl ScatterDimensions
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl Clone for ScatterDimensions
impl Clone for ScatterDimensions
Source§fn clone(&self) -> ScatterDimensions
fn clone(&self) -> ScatterDimensions
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 ScatterDimensions
impl From<MlirAttribute> for ScatterDimensions
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for ScatterDimensions
impl IAttribute for ScatterDimensions
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 ScatterDimensions
impl IAttributeNamed for ScatterDimensions
Source§impl NamedI64DenseArray for ScatterDimensions
impl NamedI64DenseArray for ScatterDimensions
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 ScatterDimensions
impl RefUnwindSafe for ScatterDimensions
impl !Send for ScatterDimensions
impl !Sync for ScatterDimensions
impl Unpin for ScatterDimensions
impl UnwindSafe for ScatterDimensions
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