pub struct ActivationWithOptionalGating {
    pub gated: bool,
    pub activation: Activation,
}Fields§
§gated: bool§activation: ActivationTrait Implementations§
source§impl Clone for ActivationWithOptionalGating
 
impl Clone for ActivationWithOptionalGating
source§fn clone(&self) -> ActivationWithOptionalGating
 
fn clone(&self) -> ActivationWithOptionalGating
Returns a copy 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 ActivationWithOptionalGating
 
impl Debug for ActivationWithOptionalGating
source§impl Default for ActivationWithOptionalGating
 
impl Default for ActivationWithOptionalGating
source§fn default() -> ActivationWithOptionalGating
 
fn default() -> ActivationWithOptionalGating
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActivationWithOptionalGating
 
impl<'de> Deserialize<'de> for ActivationWithOptionalGating
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 ActivationWithOptionalGating
 
impl PartialEq for ActivationWithOptionalGating
source§fn eq(&self, other: &ActivationWithOptionalGating) -> bool
 
fn eq(&self, other: &ActivationWithOptionalGating) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ActivationWithOptionalGating
Auto Trait Implementations§
impl Freeze for ActivationWithOptionalGating
impl RefUnwindSafe for ActivationWithOptionalGating
impl Send for ActivationWithOptionalGating
impl Sync for ActivationWithOptionalGating
impl Unpin for ActivationWithOptionalGating
impl UnwindSafe for ActivationWithOptionalGating
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