pub enum BooleanGradient {
Reject,
StraightThrough,
}Expand description
Gradient rule at a boolean atom, which is a step function.
Variants§
Trait Implementations§
Source§impl Clone for BooleanGradient
impl Clone for BooleanGradient
impl Copy for BooleanGradient
Source§impl Debug for BooleanGradient
impl Debug for BooleanGradient
Source§impl Default for BooleanGradient
impl Default for BooleanGradient
impl Eq for BooleanGradient
Source§impl PartialEq for BooleanGradient
impl PartialEq for BooleanGradient
impl StructuralPartialEq for BooleanGradient
Auto Trait Implementations§
impl Freeze for BooleanGradient
impl RefUnwindSafe for BooleanGradient
impl Send for BooleanGradient
impl Sync for BooleanGradient
impl Unpin for BooleanGradient
impl UnsafeUnpin for BooleanGradient
impl UnwindSafe for BooleanGradient
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