pub struct Record<A: Alphabet> { /* private fields */ }
Implementations§
Source§impl<A: Alphabet> Record<A>
impl<A: Alphabet> Record<A>
pub fn id(&self) -> &str
pub fn matrix(&self) -> &FrequencyMatrix<A>
Sourcepub fn into_matrix(self) -> FrequencyMatrix<A>
pub fn into_matrix(self) -> FrequencyMatrix<A>
Take the frequency matrix of the record.
Trait Implementations§
Source§impl<A: Alphabet> AsRef<FrequencyMatrix<A>> for Record<A>
impl<A: Alphabet> AsRef<FrequencyMatrix<A>> for Record<A>
Source§fn as_ref(&self) -> &FrequencyMatrix<A>
fn as_ref(&self) -> &FrequencyMatrix<A>
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl<A> Freeze for Record<A>
impl<A> RefUnwindSafe for Record<A>
impl<A> Send for Record<A>where
A: Send,
impl<A> Sync for Record<A>where
A: Sync,
impl<A> Unpin for Record<A>
impl<A> UnwindSafe for Record<A>
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