pub struct FastaRecord {
pub name: String,
pub seq: String,
}Expand description
A FASTA record containing sequence name and nucleotide sequence.
§Fields
name: Sequence identifier (text after ‘>’ up to first whitespace)seq: Nucleotide sequence (concatenated from all sequence lines)
Fields§
§name: StringSequence identifier extracted from the header line.
seq: StringNucleotide sequence (may contain standard IUPAC codes).
Trait Implementations§
Source§impl Clone for FastaRecord
impl Clone for FastaRecord
Source§fn clone(&self) -> FastaRecord
fn clone(&self) -> FastaRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FastaRecord
impl RefUnwindSafe for FastaRecord
impl Send for FastaRecord
impl Sync for FastaRecord
impl Unpin for FastaRecord
impl UnsafeUnpin for FastaRecord
impl UnwindSafe for FastaRecord
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§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