pub struct QuerynameKey {
pub name: Vec<u8>,
pub flags: u16,
}Expand description
Sort key for queryname ordering.
Uses natural string ordering where numeric runs are compared numerically. Example: “read1” < “read2” < “read10” < “read11”
Fields§
§name: Vec<u8>Read name bytes.
flags: u16Read pair flags for ordering R1 before R2.
Trait Implementations§
Source§impl Clone for QuerynameKey
impl Clone for QuerynameKey
Source§fn clone(&self) -> QuerynameKey
fn clone(&self) -> QuerynameKey
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 QuerynameKey
impl Debug for QuerynameKey
Source§impl Ord for QuerynameKey
impl Ord for QuerynameKey
Source§impl PartialEq for QuerynameKey
impl PartialEq for QuerynameKey
Source§impl PartialOrd for QuerynameKey
impl PartialOrd for QuerynameKey
Source§impl SortKey for QuerynameKey
impl SortKey for QuerynameKey
impl Eq for QuerynameKey
impl StructuralPartialEq for QuerynameKey
Auto Trait Implementations§
impl Freeze for QuerynameKey
impl RefUnwindSafe for QuerynameKey
impl Send for QuerynameKey
impl Sync for QuerynameKey
impl Unpin for QuerynameKey
impl UnsafeUnpin for QuerynameKey
impl UnwindSafe for QuerynameKey
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