pub struct VectorSelector {}

Implementations§

source§

impl VectorSelector

source

pub fn new() -> Self

Trait Implementations§

source§

impl Clone for VectorSelector

source§

fn clone(&self) -> VectorSelector

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VectorSelector

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl SelectFromVector<bool> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<bool>, selector_argument: &bool, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<bool>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<f32> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<f32>, selector_argument: &f32, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<f32>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<f64> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<f64>, selector_argument: &f64, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<f64>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<i16> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<i16>, selector_argument: &i16, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<i16>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<i32> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<i32>, selector_argument: &i32, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<i32>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<i64> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<i64>, selector_argument: &i64, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<i64>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<i8> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<i8>, selector_argument: &i8, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<i8>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<isize> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<isize>, selector_argument: &isize, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<isize>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<u16> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<u16>, selector_argument: &u16, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<u16>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<u32> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<u32>, selector_argument: &u32, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<u32>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<u64> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<u64>, selector_argument: &u64, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<u64>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<u8> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<u8>, selector_argument: &u8, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<u8>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl SelectFromVector<usize> for VectorSelector

source§

fn apply( &self, selector: &impl IndexUnaryOperator<usize>, selector_argument: &usize, argument: &impl GetGraphblasSparseVector, accumulator: &impl AccumulatorBinaryOperator<usize>, product: &mut impl GetGraphblasSparseVector, mask: &impl VectorMask, options: &impl GetOperatorOptions ) -> Result<(), SparseLinearAlgebraError>

source§

impl Send for VectorSelector

source§

impl Sync for VectorSelector

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.