pub struct Seq<'a> {
pub encoded: &'a [u8],
// some fields omitted
}
Expand description
The sequence of a record.
Return encoded base. Complexity: O(1).
Return encoded base. Complexity: O(1).
Obtain decoded base without performing bounds checking.
Use index based access seq()[i], for checked, safe access.
Complexity: O(1).
Return decoded sequence. Complexity: O(m) with m being the read length.
Return length (in bases) of the sequence.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Return decoded base at given position within read. Complexity: O(1).
The returned type after indexing.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.