pub struct K3LayerSpec {
pub index: usize,
pub mixer: MixerKind,
pub mlp: MlpKind,
}Fields§
§index: usize§mixer: MixerKind§mlp: MlpKindTrait Implementations§
Source§impl Clone for K3LayerSpec
impl Clone for K3LayerSpec
Source§fn clone(&self) -> K3LayerSpec
fn clone(&self) -> K3LayerSpec
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 K3LayerSpec
impl Debug for K3LayerSpec
Source§impl PartialEq for K3LayerSpec
impl PartialEq for K3LayerSpec
impl Copy for K3LayerSpec
impl Eq for K3LayerSpec
impl StructuralPartialEq for K3LayerSpec
Auto Trait Implementations§
impl Freeze for K3LayerSpec
impl RefUnwindSafe for K3LayerSpec
impl Send for K3LayerSpec
impl Sync for K3LayerSpec
impl Unpin for K3LayerSpec
impl UnwindSafe for K3LayerSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.