pub struct VarOptions {
pub ddof: i32,
pub keepdims: bool,
}Expand description
Rare knobs of crate::Array::var_with and crate::Array::std_with.
Fields§
§ddof: i32Delta degrees of freedom: the divisor is n - ddof (clamped at 0). 0 by default.
keepdims: boolKeep the reduced axes as dimensions of size 1.
Trait Implementations§
Source§impl Clone for VarOptions
impl Clone for VarOptions
Source§fn clone(&self) -> VarOptions
fn clone(&self) -> VarOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VarOptions
Source§impl Debug for VarOptions
impl Debug for VarOptions
Source§impl Default for VarOptions
impl Default for VarOptions
Source§fn default() -> VarOptions
fn default() -> VarOptions
Returns the “default value” for a type. Read more
impl Eq for VarOptions
Source§impl PartialEq for VarOptions
impl PartialEq for VarOptions
impl StructuralPartialEq for VarOptions
Auto Trait Implementations§
impl Freeze for VarOptions
impl RefUnwindSafe for VarOptions
impl Send for VarOptions
impl Sync for VarOptions
impl Unpin for VarOptions
impl UnsafeUnpin for VarOptions
impl UnwindSafe for VarOptions
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> Boilerplate for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
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