pub enum Selection<S> {
Forced(MatmulSelection),
Inferred(S),
}
Variants§
Forced(MatmulSelection)
Use a predefined MatmulSelection
Inferred(S)
Allows to give limited MatmulSelection information, and the rest is inferred from it
Implementations§
Source§impl<S: Default + Clone> Selection<S>
impl<S: Default + Clone> Selection<S>
pub fn maybe_forced_default(s: &Option<MatmulSelection>) -> Self
pub fn maybe_forced_or(s: &Option<MatmulSelection>, args: &S) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Selection<S>where
S: Freeze,
impl<S> RefUnwindSafe for Selection<S>where
S: RefUnwindSafe,
impl<S> Send for Selection<S>where
S: Send,
impl<S> Sync for Selection<S>where
S: Sync,
impl<S> Unpin for Selection<S>where
S: Unpin,
impl<S> UnwindSafe for Selection<S>where
S: UnwindSafe,
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