Enum brassfibre::prelude::Array
[−]
[src]
pub enum Array { Int64Array(Vec<i64>), Int32Array(Vec<i32>), UsizeArray(Vec<usize>), Float64Array(Vec<f64>), BoolArray(Vec<bool>), StringArray(Vec<String>), }
///////////////////////////////////////////////////////////////////////////// Array /////////////////////////////////////////////////////////////////////////////
Variants
Int64Array(Vec<i64>)
Int32Array(Vec<i32>)
UsizeArray(Vec<usize>)
Float64Array(Vec<f64>)
BoolArray(Vec<bool>)
StringArray(Vec<String>)
Methods
impl Array
[src]
fn new<T: Into<Array>>(values: T) -> Self
fn dtype(&self) -> String
fn is_numeric(&self) -> bool
fn to_string_vec(&self) -> Vec<String>
fn astype<V: 'static>(&self) -> Array
Trait Implementations
impl<'s> BasicAggregation<'s> for Array
[src]
type Kept = f64
type Counted = usize
fn sum(&'s self) -> Self::Kept
fn count(&'s self) -> Self::Counted
impl<'s> NumericAggregation<'s> for Array
[src]
type Coerced = f64
fn mean(&'s self) -> Self::Coerced
fn var(&'s self) -> Self::Coerced
fn unbiased_var(&'s self) -> Self::Coerced
fn std(&'s self) -> Self::Coerced
fn unbiased_std(&'s self) -> Self::Coerced
impl<'s> ComparisonAggregation<'s> for Array
[src]
impl From<Vec<i64>> for Array
[src]
impl From<Vec<i32>> for Array
[src]
impl From<Vec<usize>> for Array
[src]
impl From<Vec<f64>> for Array
[src]
impl From<Vec<bool>> for Array
[src]
impl From<Vec<String>> for Array
[src]
impl<'a> From<Vec<&'a str>> for Array
[src]
impl From<Vec<Scalar>> for Array
[src]
///////////////////////////////////////////////////////////////////////////// Scalar Vec to Array /////////////////////////////////////////////////////////////////////////////
impl Add<i64> for Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: i64) -> Self::Output
The method for the +
operator
impl<'r> Add<&'r i64> for Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: &'r i64) -> Self::Output
The method for the +
operator
impl<'l> Add<i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: i64) -> Self::Output
The method for the +
operator
impl<'l, 'r> Add<&'r i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: &'r i64) -> Self::Output
The method for the +
operator
impl Mul<i64> for Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: i64) -> Self::Output
The method for the *
operator
impl<'r> Mul<&'r i64> for Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: &'r i64) -> Self::Output
The method for the *
operator
impl<'l> Mul<i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: i64) -> Self::Output
The method for the *
operator
impl<'l, 'r> Mul<&'r i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: &'r i64) -> Self::Output
The method for the *
operator
impl Sub<i64> for Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: i64) -> Self::Output
The method for the -
operator
impl<'r> Sub<&'r i64> for Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: &'r i64) -> Self::Output
The method for the -
operator
impl<'l> Sub<i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: i64) -> Self::Output
The method for the -
operator
impl<'l, 'r> Sub<&'r i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: &'r i64) -> Self::Output
The method for the -
operator
impl Div<i64> for Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: i64) -> Self::Output
The method for the /
operator
impl<'r> Div<&'r i64> for Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: &'r i64) -> Self::Output
The method for the /
operator
impl<'l> Div<i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: i64) -> Self::Output
The method for the /
operator
impl<'l, 'r> Div<&'r i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: &'r i64) -> Self::Output
The method for the /
operator
impl Rem<i64> for Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: i64) -> Self::Output
The method for the %
operator
impl<'r> Rem<&'r i64> for Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: &'r i64) -> Self::Output
The method for the %
operator
impl<'l> Rem<i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: i64) -> Self::Output
The method for the %
operator
impl<'l, 'r> Rem<&'r i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: &'r i64) -> Self::Output
The method for the %
operator
impl BitAnd<i64> for Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: i64) -> Self::Output
The method for the &
operator
impl<'r> BitAnd<&'r i64> for Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: &'r i64) -> Self::Output
The method for the &
operator
impl<'l> BitAnd<i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: i64) -> Self::Output
The method for the &
operator
impl<'l, 'r> BitAnd<&'r i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: &'r i64) -> Self::Output
The method for the &
operator
impl BitOr<i64> for Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: i64) -> Self::Output
The method for the |
operator
impl<'r> BitOr<&'r i64> for Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: &'r i64) -> Self::Output
The method for the |
operator
impl<'l> BitOr<i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: i64) -> Self::Output
The method for the |
operator
impl<'l, 'r> BitOr<&'r i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: &'r i64) -> Self::Output
The method for the |
operator
impl BitXor<i64> for Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: i64) -> Self::Output
The method for the ^
operator
impl<'r> BitXor<&'r i64> for Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: &'r i64) -> Self::Output
The method for the ^
operator
impl<'l> BitXor<i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: i64) -> Self::Output
The method for the ^
operator
impl<'l, 'r> BitXor<&'r i64> for &'l Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: &'r i64) -> Self::Output
The method for the ^
operator
impl Add<f64> for Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: f64) -> Self::Output
The method for the +
operator
impl<'r> Add<&'r f64> for Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: &'r f64) -> Self::Output
The method for the +
operator
impl<'l> Add<f64> for &'l Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: f64) -> Self::Output
The method for the +
operator
impl<'l, 'r> Add<&'r f64> for &'l Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: &'r f64) -> Self::Output
The method for the +
operator
impl Mul<f64> for Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: f64) -> Self::Output
The method for the *
operator
impl<'r> Mul<&'r f64> for Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: &'r f64) -> Self::Output
The method for the *
operator
impl<'l> Mul<f64> for &'l Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: f64) -> Self::Output
The method for the *
operator
impl<'l, 'r> Mul<&'r f64> for &'l Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: &'r f64) -> Self::Output
The method for the *
operator
impl Sub<f64> for Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: f64) -> Self::Output
The method for the -
operator
impl<'r> Sub<&'r f64> for Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: &'r f64) -> Self::Output
The method for the -
operator
impl<'l> Sub<f64> for &'l Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: f64) -> Self::Output
The method for the -
operator
impl<'l, 'r> Sub<&'r f64> for &'l Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: &'r f64) -> Self::Output
The method for the -
operator
impl Div<f64> for Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: f64) -> Self::Output
The method for the /
operator
impl<'r> Div<&'r f64> for Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: &'r f64) -> Self::Output
The method for the /
operator
impl<'l> Div<f64> for &'l Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: f64) -> Self::Output
The method for the /
operator
impl<'l, 'r> Div<&'r f64> for &'l Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: &'r f64) -> Self::Output
The method for the /
operator
impl Rem<f64> for Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: f64) -> Self::Output
The method for the %
operator
impl<'r> Rem<&'r f64> for Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: &'r f64) -> Self::Output
The method for the %
operator
impl<'l> Rem<f64> for &'l Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: f64) -> Self::Output
The method for the %
operator
impl<'l, 'r> Rem<&'r f64> for &'l Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: &'r f64) -> Self::Output
The method for the %
operator
impl BitAnd<bool> for Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: bool) -> Self::Output
The method for the &
operator
impl<'r> BitAnd<&'r bool> for Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: &'r bool) -> Self::Output
The method for the &
operator
impl<'l> BitAnd<bool> for &'l Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: bool) -> Self::Output
The method for the &
operator
impl<'l, 'r> BitAnd<&'r bool> for &'l Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: &'r bool) -> Self::Output
The method for the &
operator
impl BitOr<bool> for Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: bool) -> Self::Output
The method for the |
operator
impl<'r> BitOr<&'r bool> for Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: &'r bool) -> Self::Output
The method for the |
operator
impl<'l> BitOr<bool> for &'l Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: bool) -> Self::Output
The method for the |
operator
impl<'l, 'r> BitOr<&'r bool> for &'l Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: &'r bool) -> Self::Output
The method for the |
operator
impl BitXor<bool> for Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: bool) -> Self::Output
The method for the ^
operator
impl<'r> BitXor<&'r bool> for Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: &'r bool) -> Self::Output
The method for the ^
operator
impl<'l> BitXor<bool> for &'l Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: bool) -> Self::Output
The method for the ^
operator
impl<'l, 'r> BitXor<&'r bool> for &'l Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: &'r bool) -> Self::Output
The method for the ^
operator
impl Add<Array> for Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: Array) -> Self::Output
The method for the +
operator
impl<'r> Add<&'r Array> for Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: &Array) -> Self::Output
The method for the +
operator
impl<'l> Add<Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: Array) -> Self::Output
The method for the +
operator
impl<'l, 'r> Add<&'r Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the +
operator
fn add(self, _rhs: &Array) -> Self::Output
The method for the +
operator
impl Mul<Array> for Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: Array) -> Self::Output
The method for the *
operator
impl<'r> Mul<&'r Array> for Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: &Array) -> Self::Output
The method for the *
operator
impl<'l> Mul<Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: Array) -> Self::Output
The method for the *
operator
impl<'l, 'r> Mul<&'r Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the *
operator
fn mul(self, _rhs: &Array) -> Self::Output
The method for the *
operator
impl Sub<Array> for Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: Array) -> Self::Output
The method for the -
operator
impl<'r> Sub<&'r Array> for Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: &Array) -> Self::Output
The method for the -
operator
impl<'l> Sub<Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: Array) -> Self::Output
The method for the -
operator
impl<'l, 'r> Sub<&'r Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the -
operator
fn sub(self, _rhs: &Array) -> Self::Output
The method for the -
operator
impl Div<Array> for Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: Array) -> Self::Output
The method for the /
operator
impl<'r> Div<&'r Array> for Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: &Array) -> Self::Output
The method for the /
operator
impl<'l> Div<Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: Array) -> Self::Output
The method for the /
operator
impl<'l, 'r> Div<&'r Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the /
operator
fn div(self, _rhs: &Array) -> Self::Output
The method for the /
operator
impl Rem<Array> for Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: Array) -> Self::Output
The method for the %
operator
impl<'r> Rem<&'r Array> for Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: &Array) -> Self::Output
The method for the %
operator
impl<'l> Rem<Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: Array) -> Self::Output
The method for the %
operator
impl<'l, 'r> Rem<&'r Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the %
operator
fn rem(self, _rhs: &Array) -> Self::Output
The method for the %
operator
impl BitAnd<Array> for Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: Array) -> Self::Output
The method for the &
operator
impl<'r> BitAnd<&'r Array> for Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: &Array) -> Self::Output
The method for the &
operator
impl<'l> BitAnd<Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: Array) -> Self::Output
The method for the &
operator
impl<'l, 'r> BitAnd<&'r Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the &
operator
fn bitand(self, _rhs: &Array) -> Self::Output
The method for the &
operator
impl BitOr<Array> for Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: Array) -> Self::Output
The method for the |
operator
impl<'r> BitOr<&'r Array> for Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: &Array) -> Self::Output
The method for the |
operator
impl<'l> BitOr<Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: Array) -> Self::Output
The method for the |
operator
impl<'l, 'r> BitOr<&'r Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the |
operator
fn bitor(self, _rhs: &Array) -> Self::Output
The method for the |
operator
impl BitXor<Array> for Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: Array) -> Self::Output
The method for the ^
operator
impl<'r> BitXor<&'r Array> for Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: &Array) -> Self::Output
The method for the ^
operator
impl<'l> BitXor<Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: Array) -> Self::Output
The method for the ^
operator
impl<'l, 'r> BitXor<&'r Array> for &'l Array
[src]
type Output = Array
The resulting type after applying the ^
operator
fn bitxor(self, _rhs: &Array) -> Self::Output
The method for the ^
operator
impl Clone for Array
[src]
fn clone(&self) -> Array
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Array
[src]
fn eq(&self, __arg_0: &Array) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Array) -> bool
This method tests for !=
.