pub enum PrimitiveTransposeInput<Op: GraphOperation> {
Residual(ValueKey<Op>),
Linear {
key: ValueKey<Op>,
primal: Option<ValueKey<Op>>,
},
}Variants§
Implementations§
Source§impl<Op: GraphOperation> PrimitiveTransposeInput<Op>
impl<Op: GraphOperation> PrimitiveTransposeInput<Op>
Trait Implementations§
Source§impl<Op: Clone + GraphOperation> Clone for PrimitiveTransposeInput<Op>
impl<Op: Clone + GraphOperation> Clone for PrimitiveTransposeInput<Op>
Source§fn clone(&self) -> PrimitiveTransposeInput<Op>
fn clone(&self) -> PrimitiveTransposeInput<Op>
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 moreAuto Trait Implementations§
impl<Op> Freeze for PrimitiveTransposeInput<Op>where
<Op as GraphOperation>::InputKey: Freeze,
impl<Op> RefUnwindSafe for PrimitiveTransposeInput<Op>where
<Op as GraphOperation>::InputKey: RefUnwindSafe,
Op: RefUnwindSafe,
impl<Op> Send for PrimitiveTransposeInput<Op>
impl<Op> Sync for PrimitiveTransposeInput<Op>
impl<Op> Unpin for PrimitiveTransposeInput<Op>where
<Op as GraphOperation>::InputKey: Unpin,
impl<Op> UnsafeUnpin for PrimitiveTransposeInput<Op>where
<Op as GraphOperation>::InputKey: UnsafeUnpin,
impl<Op> UnwindSafe for PrimitiveTransposeInput<Op>
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> 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