pub struct Record<A: Alphabet> { /* private fields */ }
Expand description
A JASPAR (2016) record.
Implementations§
Source§impl<A: Alphabet> Record<A>
impl<A: Alphabet> Record<A>
Sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Get the description of the record, if any.
Sourcepub fn matrix(&self) -> &CountMatrix<A>
pub fn matrix(&self) -> &CountMatrix<A>
Get the count matrix of the record.
Sourcepub fn into_matrix(self) -> CountMatrix<A>
pub fn into_matrix(self) -> CountMatrix<A>
Take the count matrix of the record.
Trait Implementations§
Source§impl<A: Alphabet> AsRef<CountMatrix<A>> for Record<A>
impl<A: Alphabet> AsRef<CountMatrix<A>> for Record<A>
Source§fn as_ref(&self) -> &CountMatrix<A>
fn as_ref(&self) -> &CountMatrix<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