[−][src]Struct seq_io::fastx::OwnedRecord
A FASTX record that ownes its data (requires allocations)
Fields
head: Vec<u8>
seq: Vec<u8>
qual: Option<Vec<u8>>
Trait Implementations
impl BaseRecord for OwnedRecord
[src]
fn head(&self) -> &[u8]
[src]
fn seq(&self) -> &[u8]
[src]
fn full_seq(&self) -> Cow<'_, [u8]>
[src]
fn full_seq_given<'s, F: FnOnce() -> &'s mut Vec<u8>>(
&'s self,
_: F
) -> Cow<'s, [u8]>
[src]
&'s self,
_: F
) -> Cow<'s, [u8]>
fn num_seq_lines(&self) -> usize
[src]
fn has_quality(&self) -> bool
[src]
fn opt_qual(&self) -> Option<&[u8]>
[src]
fn opt_full_qual_given<'s, F>(&'s self, _: F) -> Option<Cow<'s, [u8]>> where
F: FnOnce() -> &'s mut Vec<u8>,
[src]
F: FnOnce() -> &'s mut Vec<u8>,
fn opt_full_qual(&self) -> Option<Cow<'_, [u8]>>
[src]
fn num_qual_lines(&self) -> usize
[src]
fn write<W: Write>(&self, writer: W) -> Result<()>
[src]
fn id_bytes(&self) -> &[u8]
[src]
fn id(&self) -> Result<&str, Utf8Error>
[src]
fn desc_bytes(&self) -> Option<&[u8]>
[src]
fn desc(&self) -> Option<Result<&str, Utf8Error>>
[src]
fn id_desc_bytes(&self) -> (&[u8], Option<&[u8]>)
[src]
fn id_desc(&self) -> Result<(&str, Option<&str>), Utf8Error>
[src]
impl Clone for OwnedRecord
[src]
fn clone(&self) -> OwnedRecord
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OwnedRecord
[src]
impl Default for OwnedRecord
[src]
fn default() -> OwnedRecord
[src]
impl<'de> Deserialize<'de> for OwnedRecord
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for OwnedRecord
[src]
impl PartialEq<OwnedRecord> for OwnedRecord
[src]
fn eq(&self, other: &OwnedRecord) -> bool
[src]
fn ne(&self, other: &OwnedRecord) -> bool
[src]
impl Record for OwnedRecord
[src]
fn write_wrap<W>(&self, writer: W, wrap: usize) -> Result<()> where
W: Write,
[src]
W: Write,
fn write_as<W>(
&self,
writer: W,
format: SeqFormat,
wrap_fasta: Option<usize>
) -> Result<()> where
W: Write,
[src]
&self,
writer: W,
format: SeqFormat,
wrap_fasta: Option<usize>
) -> Result<()> where
W: Write,
fn check_lengths(&self) -> Result<&Self, Error>
[src]
impl Serialize for OwnedRecord
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for OwnedRecord
[src]
impl StructuralPartialEq for OwnedRecord
[src]
Auto Trait Implementations
impl RefUnwindSafe for OwnedRecord
impl Send for OwnedRecord
impl Sync for OwnedRecord
impl Unpin for OwnedRecord
impl UnwindSafe for OwnedRecord
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
const ALIGN: usize
type Init = T
The type for initializers.
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,