pub struct ReductionOperationBuilder<'c, T0, T1, T2> { /* private fields */ }
Expand description
A builder for a reduction
operation.
Implementations§
source§impl<'c> ReductionOperationBuilder<'c, Unset, Unset, Unset>
impl<'c> ReductionOperationBuilder<'c, Unset, Unset, Unset>
source§impl<'c, T1, T2> ReductionOperationBuilder<'c, Unset, T1, T2>
impl<'c, T1, T2> ReductionOperationBuilder<'c, Unset, T1, T2>
pub fn dest(self, dest: Type<'c>) -> ReductionOperationBuilder<'c, Set, T1, T2>
source§impl<'c, T0, T2> ReductionOperationBuilder<'c, T0, Unset, T2>
impl<'c, T0, T2> ReductionOperationBuilder<'c, T0, Unset, T2>
pub fn vector( self, vector: Value<'c, '_> ) -> ReductionOperationBuilder<'c, T0, Set, T2>
source§impl<'c, T0, T1, T2> ReductionOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> ReductionOperationBuilder<'c, T0, T1, T2>
pub fn acc( self, acc: Value<'c, '_> ) -> ReductionOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1> ReductionOperationBuilder<'c, T0, T1, Unset>
impl<'c, T0, T1> ReductionOperationBuilder<'c, T0, T1, Unset>
pub fn kind( self, kind: Attribute<'c> ) -> ReductionOperationBuilder<'c, T0, T1, Set>
source§impl<'c> ReductionOperationBuilder<'c, Set, Set, Set>
impl<'c> ReductionOperationBuilder<'c, Set, Set, Set>
pub fn build(self) -> ReductionOperation<'c>
Auto Trait Implementations§
impl<'c, T0, T1, T2> RefUnwindSafe for ReductionOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> !Send for ReductionOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> !Sync for ReductionOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> Unpin for ReductionOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> UnwindSafe for ReductionOperationBuilder<'c, T0, T1, T2>
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