#[non_exhaustive]pub enum Parameter<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> Parameter<S, D>where
S: RawData,
D: RemoveAxis,
impl<S, D> Parameter<S, D>where
S: RawData,
D: RemoveAxis,
Trait Implementations§
Source§impl<S, D> VariantNames for Parameter<S, D>where
S: RawData,
D: RemoveAxis,
impl<S, D> VariantNames for Parameter<S, D>where
S: RawData,
D: RemoveAxis,
Auto Trait Implementations§
impl<S, D> Freeze for Parameter<S, D>
impl<S, D> RefUnwindSafe for Parameter<S, D>where
S: RefUnwindSafe,
<D as Dimension>::Smaller: RefUnwindSafe,
D: RefUnwindSafe,
<S as RawData>::Elem: RefUnwindSafe,
impl<S, D> Send for Parameter<S, D>
impl<S, D> Sync for Parameter<S, D>
impl<S, D> Unpin for Parameter<S, D>
impl<S, D> UnwindSafe for Parameter<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