pub struct LearnOptions {
pub alpha: f64,
pub gating: GatingSpec,
}Fields§
§alpha: f64§gating: GatingSpecTrait Implementations§
Source§impl Clone for LearnOptions
impl Clone for LearnOptions
Source§fn clone(&self) -> LearnOptions
fn clone(&self) -> LearnOptions
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 moreSource§impl Debug for LearnOptions
impl Debug for LearnOptions
Source§impl Default for LearnOptions
impl Default for LearnOptions
Source§impl<'de> Deserialize<'de> for LearnOptions
impl<'de> Deserialize<'de> for LearnOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LearnOptions
impl PartialEq for LearnOptions
Source§impl Serialize for LearnOptions
impl Serialize for LearnOptions
impl StructuralPartialEq for LearnOptions
Auto Trait Implementations§
impl Freeze for LearnOptions
impl RefUnwindSafe for LearnOptions
impl Send for LearnOptions
impl Sync for LearnOptions
impl Unpin for LearnOptions
impl UnsafeUnpin for LearnOptions
impl UnwindSafe for LearnOptions
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