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 description(&self) -> &BStr
pub fn description(&self) -> &BStr
Returns the description.
sourcepub fn description_mut(&mut self) -> &mut BString
pub fn description_mut(&mut self) -> &mut BString
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
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)