pub struct RawQuerynameKey {
pub name: Vec<u8>,
pub flags: u16,
}Expand description
Variable-size queryname sort key for raw BAM sorting.
This key stores the full read name for correct natural ordering. Unlike fixed-size keys, serialization size depends on name length.
Serialization format: [name_len: u16][name: bytes][flags: u16]
Fields§
§name: Vec<u8>Read name bytes.
flags: u16Flags for segment ordering (R1 before R2).
Implementations§
Trait Implementations§
Source§impl Clone for RawQuerynameKey
impl Clone for RawQuerynameKey
Source§fn clone(&self) -> RawQuerynameKey
fn clone(&self) -> RawQuerynameKey
Returns a duplicate 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 RawQuerynameKey
impl Debug for RawQuerynameKey
Source§impl Default for RawQuerynameKey
impl Default for RawQuerynameKey
Source§fn default() -> RawQuerynameKey
fn default() -> RawQuerynameKey
Returns the “default value” for a type. Read more
Source§impl Ord for RawQuerynameKey
impl Ord for RawQuerynameKey
Source§impl PartialEq for RawQuerynameKey
impl PartialEq for RawQuerynameKey
Source§impl PartialOrd for RawQuerynameKey
impl PartialOrd for RawQuerynameKey
Source§impl RawSortKey for RawQuerynameKey
impl RawSortKey for RawQuerynameKey
Source§const SERIALIZED_SIZE: Option<usize> = None
const SERIALIZED_SIZE: Option<usize> = None
Fixed byte size when serialized, or
None for variable-length keys. Read moreSource§fn extract(bam: &[u8], _ctx: &SortContext) -> Self
fn extract(bam: &[u8], _ctx: &SortContext) -> Self
Extract a sort key from raw BAM record bytes. Read more
impl Eq for RawQuerynameKey
impl StructuralPartialEq for RawQuerynameKey
Auto Trait Implementations§
impl Freeze for RawQuerynameKey
impl RefUnwindSafe for RawQuerynameKey
impl Send for RawQuerynameKey
impl Sync for RawQuerynameKey
impl Unpin for RawQuerynameKey
impl UnsafeUnpin for RawQuerynameKey
impl UnwindSafe for RawQuerynameKey
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.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