pub struct GradientRepeatAdaptor<G> { /* private fields */ }Expand description
Repeating gradient adaptor — wraps gradient values with modulo.
Port of C++ gradient_repeat_adaptor<GradientF>.
Implementations§
Source§impl<G: GradientFunction> GradientRepeatAdaptor<G>
impl<G: GradientFunction> GradientRepeatAdaptor<G>
Trait Implementations§
Source§impl<G: GradientFunction> GradientFunction for GradientRepeatAdaptor<G>
impl<G: GradientFunction> GradientFunction for GradientRepeatAdaptor<G>
Auto Trait Implementations§
impl<G> Freeze for GradientRepeatAdaptor<G>where
G: Freeze,
impl<G> RefUnwindSafe for GradientRepeatAdaptor<G>where
G: RefUnwindSafe,
impl<G> Send for GradientRepeatAdaptor<G>where
G: Send,
impl<G> Sync for GradientRepeatAdaptor<G>where
G: Sync,
impl<G> Unpin for GradientRepeatAdaptor<G>where
G: Unpin,
impl<G> UnwindSafe for GradientRepeatAdaptor<G>where
G: 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