Struct noodles::fastq::record::Definition
source · pub struct Definition { /* private fields */ }
Expand description
A FASTQ record definition.
A definition represents a definition line, i.e., a read name and, optionally, a description.
Implementations§
source§impl Definition
impl Definition
sourcepub fn new<N, D>(name: N, description: D) -> Definition
pub fn new<N, D>(name: N, description: D) -> Definition
Creates a FASTQ record definition.
sourcepub fn description(&self) -> &[u8] ⓘ
pub fn description(&self) -> &[u8] ⓘ
Returns the description.
sourcepub fn description_mut(&mut self) -> &mut Vec<u8> ⓘ
pub fn description_mut(&mut self) -> &mut Vec<u8> ⓘ
Returns a mutable reference to the description.
Trait Implementations§
source§impl Clone for Definition
impl Clone for Definition
source§fn clone(&self) -> Definition
fn clone(&self) -> Definition
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 Definition
impl Debug for Definition
source§impl Default for Definition
impl Default for Definition
source§fn default() -> Definition
fn default() -> Definition
Returns the “default value” for a type. Read more
source§impl PartialEq for Definition
impl PartialEq for Definition
source§fn eq(&self, other: &Definition) -> bool
fn eq(&self, other: &Definition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Definition
impl StructuralPartialEq for Definition
Auto Trait Implementations§
impl Freeze for Definition
impl RefUnwindSafe for Definition
impl Send for Definition
impl Sync for Definition
impl Unpin for Definition
impl UnwindSafe for Definition
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.