pub enum ProviderModeAxes {
Default,
Dim(usize),
All,
}Expand description
Dimension selection for provider-backed mode reductions.
Variants§
Default
First non-singleton dimension selected by MATLAB default rules.
Dim(usize)
Zero-based dimension supplied by mode(A, dim).
All
Collapse every element, as in mode(A, "all").
Trait Implementations§
Source§impl Clone for ProviderModeAxes
impl Clone for ProviderModeAxes
Source§fn clone(&self) -> ProviderModeAxes
fn clone(&self) -> ProviderModeAxes
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 ProviderModeAxes
Source§impl Debug for ProviderModeAxes
impl Debug for ProviderModeAxes
Source§impl<'de> Deserialize<'de> for ProviderModeAxes
impl<'de> Deserialize<'de> for ProviderModeAxes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProviderModeAxes
Source§impl PartialEq for ProviderModeAxes
impl PartialEq for ProviderModeAxes
Source§impl Serialize for ProviderModeAxes
impl Serialize for ProviderModeAxes
impl StructuralPartialEq for ProviderModeAxes
Auto Trait Implementations§
impl Freeze for ProviderModeAxes
impl RefUnwindSafe for ProviderModeAxes
impl Send for ProviderModeAxes
impl Sync for ProviderModeAxes
impl Unpin for ProviderModeAxes
impl UnsafeUnpin for ProviderModeAxes
impl UnwindSafe for ProviderModeAxes
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