pub struct ScalableMaskedAddIOperation<'c> { /* private fields */ }
Expand description
A masked.addi
operation. Masked addition for scalable vectors of integers.
The arm_sve.masked.addi
operation takes one scalable vector mask
and two scalable vector operands, and perform integer addition on active lanes. Inactive lanes will keep the value of
the first operand.
Implementations§
source§impl<'c> ScalableMaskedAddIOperation<'c>
impl<'c> ScalableMaskedAddIOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> ScalableMaskedAddIOperationBuilder<'c, Unset, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> ScalableMaskedAddIOperationBuilder<'c, Unset, Unset, Unset, Unset>
Creates a builder.
pub fn res(&self) -> Result<OperationResult<'c, '_>, Error>
pub fn mask(&self) -> Result<Value<'c, '_>, Error>
pub fn src_1(&self) -> Result<Value<'c, '_>, Error>
pub fn src_2(&self) -> Result<Value<'c, '_>, Error>
Trait Implementations§
source§impl<'c> From<ScalableMaskedAddIOperation<'c>> for Operation<'c>
impl<'c> From<ScalableMaskedAddIOperation<'c>> for Operation<'c>
source§fn from(operation: ScalableMaskedAddIOperation<'c>) -> Self
fn from(operation: ScalableMaskedAddIOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for ScalableMaskedAddIOperation<'c>
impl<'c> !Send for ScalableMaskedAddIOperation<'c>
impl<'c> !Sync for ScalableMaskedAddIOperation<'c>
impl<'c> Unpin for ScalableMaskedAddIOperation<'c>
impl<'c> UnwindSafe for ScalableMaskedAddIOperation<'c>
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