SumFn

Struct SumFn 

Source
pub struct SumFn { /* private fields */ }
Expand description

Partially-implemented function (implementing Func and FuncDefault) for computing the sum of values in a field.

Trait Implementations§

Source§

impl Debug for SumFn

Source§

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

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

impl Default for SumFn

Source§

fn default() -> SumFn

Returns the “default value” for a type. Read more
Source§

impl Func<f32> for SumFn

Source§

type Output = ()

Output of this function.
Source§

fn call<DI>(&mut self, data: &DI)
where DI: DataIndex<DType = f32>,

Method to call this function on field data of data type DType.
Source§

impl Func<f64> for SumFn

Source§

type Output = ()

Output of this function.
Source§

fn call<DI>(&mut self, data: &DI)
where DI: DataIndex<DType = f64>,

Method to call this function on field data of data type DType.
Source§

impl Func<i32> for SumFn

Source§

type Output = ()

Output of this function.
Source§

fn call<DI>(&mut self, data: &DI)
where DI: DataIndex<DType = i32>,

Method to call this function on field data of data type DType.
Source§

impl Func<i64> for SumFn

Source§

type Output = ()

Output of this function.
Source§

fn call<DI>(&mut self, data: &DI)
where DI: DataIndex<DType = i64>,

Method to call this function on field data of data type DType.
Source§

impl Func<isize> for SumFn

Source§

type Output = ()

Output of this function.
Source§

fn call<DI>(&mut self, data: &DI)
where DI: DataIndex<DType = isize>,

Method to call this function on field data of data type DType.
Source§

impl Func<u32> for SumFn

Source§

type Output = ()

Output of this function.
Source§

fn call<DI>(&mut self, data: &DI)
where DI: DataIndex<DType = u32>,

Method to call this function on field data of data type DType.
Source§

impl Func<u64> for SumFn

Source§

type Output = ()

Output of this function.
Source§

fn call<DI>(&mut self, data: &DI)
where DI: DataIndex<DType = u64>,

Method to call this function on field data of data type DType.
Source§

impl Func<usize> for SumFn

Source§

type Output = ()

Output of this function.
Source§

fn call<DI>(&mut self, data: &DI)
where DI: DataIndex<DType = usize>,

Method to call this function on field data of data type DType.
Source§

impl FuncDefault for SumFn

Source§

type Output = ()

Output of this function.
Source§

fn call(&mut self)

Method called when no Func implementation exists.
Source§

impl IsImplemented<SumFn> for String

Source§

type IsImpl = Unimplemented

Marker trait (either Implemented or Unimplemented) specifying the implementation status for this function / data type combination.
Source§

impl IsImplemented<SumFn> for bool

Source§

type IsImpl = Unimplemented

Marker trait (either Implemented or Unimplemented) specifying the implementation status for this function / data type combination.
Source§

impl IsImplemented<SumFn> for f32

Source§

type IsImpl = Implemented

Marker trait (either Implemented or Unimplemented) specifying the implementation status for this function / data type combination.
Source§

impl IsImplemented<SumFn> for f64

Source§

type IsImpl = Implemented

Marker trait (either Implemented or Unimplemented) specifying the implementation status for this function / data type combination.
Source§

impl IsImplemented<SumFn> for i32

Source§

type IsImpl = Implemented

Marker trait (either Implemented or Unimplemented) specifying the implementation status for this function / data type combination.
Source§

impl IsImplemented<SumFn> for i64

Source§

type IsImpl = Implemented

Marker trait (either Implemented or Unimplemented) specifying the implementation status for this function / data type combination.
Source§

impl IsImplemented<SumFn> for isize

Source§

type IsImpl = Implemented

Marker trait (either Implemented or Unimplemented) specifying the implementation status for this function / data type combination.
Source§

impl IsImplemented<SumFn> for u32

Source§

type IsImpl = Implemented

Marker trait (either Implemented or Unimplemented) specifying the implementation status for this function / data type combination.
Source§

impl IsImplemented<SumFn> for u64

Source§

type IsImpl = Implemented

Marker trait (either Implemented or Unimplemented) specifying the implementation status for this function / data type combination.
Source§

impl IsImplemented<SumFn> for usize

Source§

type IsImpl = Implemented

Marker trait (either Implemented or Unimplemented) specifying the implementation status for this function / data type combination.

Auto Trait Implementations§

§

impl Freeze for SumFn

§

impl RefUnwindSafe for SumFn

§

impl Send for SumFn

§

impl Sync for SumFn

§

impl Unpin for SumFn

§

impl UnwindSafe for SumFn

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<Frames> AssocDataIndexCons<Nil> for Frames

Source§

type Output = Nil

Type of associated data index cons-list.
Source§

fn assoc_data(&self) -> Nil

Returns the associated DataIndexCons.
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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> IntoLabeled for T

Source§

fn label<Label>(self) -> Labeled<Label, T>

Label this object with label Label.
Source§

impl<Frames, Store> JoinIntoStore<Nil, Store> for Frames

Source§

type Output = Store

The output type after augmenting Store.
Source§

fn join_into_store( &self, store: Store, _permutation: &[usize], ) -> Result<Store, AgnesError>

Augments store with data from self (as specified with Labels), using the provided permutation indices.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

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>,

Source§

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.
Source§

impl<T> HasLabels<Nil> for T