pub struct GradientScaling {
pub enabled: bool,
pub initial_scale: f64,
pub growth_factor: f64,
pub backoff_factor: f64,
pub growth_interval: usize,
}Expand description
Gradient scaling configuration
Fields§
§enabled: bool§initial_scale: f64§growth_factor: f64§backoff_factor: f64§growth_interval: usizeImplementations§
Trait Implementations§
Source§impl Clone for GradientScaling
impl Clone for GradientScaling
Source§fn clone(&self) -> GradientScaling
fn clone(&self) -> GradientScaling
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GradientScaling
impl Debug for GradientScaling
Source§impl Default for GradientScaling
impl Default for GradientScaling
Source§impl PartialEq for GradientScaling
impl PartialEq for GradientScaling
impl Copy for GradientScaling
impl StructuralPartialEq for GradientScaling
Auto Trait Implementations§
impl Freeze for GradientScaling
impl RefUnwindSafe for GradientScaling
impl Send for GradientScaling
impl Sync for GradientScaling
impl Unpin for GradientScaling
impl UnwindSafe for GradientScaling
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