pub struct MsaModuleRecord<B: Backend> {
pub index_branch: <IndexBranch<B> as Module<B>>::Record,
pub attention: <SparseAttention<B> as Module<B>>::Record,
pub rope: EmptyRecord,
pub cfg: EmptyRecord,
}Expand description
The record type for the module.
Fields§
§index_branch: <IndexBranch<B> as Module<B>>::RecordThe module record associative type.
attention: <SparseAttention<B> as Module<B>>::RecordThe module record associative type.
rope: EmptyRecord§cfg: EmptyRecordTrait Implementations§
Source§impl<B: Backend> Record<B> for MsaModuleRecord<B>
impl<B: Backend> Record<B> for MsaModuleRecord<B>
Source§type Item<S: PrecisionSettings> = MsaModuleRecordItem<B, S>
type Item<S: PrecisionSettings> = MsaModuleRecordItem<B, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<B> !Freeze for MsaModuleRecord<B>
impl<B> !RefUnwindSafe for MsaModuleRecord<B>
impl<B> !UnwindSafe for MsaModuleRecord<B>
impl<B> Send for MsaModuleRecord<B>
impl<B> Sync for MsaModuleRecord<B>
impl<B> Unpin for MsaModuleRecord<B>where
<IndexBranch<B> as Module<B>>::Record: Unpin,
<SparseAttention<B> as Module<B>>::Record: Unpin,
impl<B> UnsafeUnpin for MsaModuleRecord<B>where
<IndexBranch<B> as Module<B>>::Record: UnsafeUnpin,
<SparseAttention<B> as Module<B>>::Record: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more