Enum concision_linear::params::entry::Entry
source · #[non_exhaustive]pub enum Entry<S, D>where
S: RawData,
D: RemoveAxis,{
Bias(ArrayBase<S, D::Smaller>),
Weight(ArrayBase<S, D>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
source§impl<S, D> Entry<S, D>where
S: RawData,
D: RemoveAxis,
impl<S, D> Entry<S, D>where
S: RawData,
D: RemoveAxis,
Trait Implementations§
source§impl<S, D> VariantNames for Entry<S, D>where
S: RawData,
D: RemoveAxis,
impl<S, D> VariantNames for Entry<S, D>where
S: RawData,
D: RemoveAxis,
Auto Trait Implementations§
impl<S, D> Freeze for Entry<S, D>
impl<S, D> RefUnwindSafe for Entry<S, D>where
S: RefUnwindSafe,
<D as Dimension>::Smaller: RefUnwindSafe,
D: RefUnwindSafe,
<S as RawData>::Elem: RefUnwindSafe,
impl<S, D> Send for Entry<S, D>
impl<S, D> Sync for Entry<S, D>
impl<S, D> Unpin for Entry<S, D>
impl<S, D> UnwindSafe for Entry<S, D>where
S: UnwindSafe,
<D as Dimension>::Smaller: UnwindSafe,
D: UnwindSafe,
<S as RawData>::Elem: RefUnwindSafe,
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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