pub enum IndexGradient {
Reject,
Zero,
BackwardDifference,
}Expand description
Gradient rule for the index of an index read, which is a step function.
Variants§
Trait Implementations§
Source§impl Clone for IndexGradient
impl Clone for IndexGradient
impl Copy for IndexGradient
Source§impl Debug for IndexGradient
impl Debug for IndexGradient
Source§impl Default for IndexGradient
impl Default for IndexGradient
impl Eq for IndexGradient
Source§impl PartialEq for IndexGradient
impl PartialEq for IndexGradient
impl StructuralPartialEq for IndexGradient
Auto Trait Implementations§
impl Freeze for IndexGradient
impl RefUnwindSafe for IndexGradient
impl Send for IndexGradient
impl Sync for IndexGradient
impl Unpin for IndexGradient
impl UnsafeUnpin for IndexGradient
impl UnwindSafe for IndexGradient
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