#[repr(transparent)]pub struct QueuePartitionIdx(pub u16);Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl Clone for QueuePartitionIdx
impl Clone for QueuePartitionIdx
Source§fn clone(&self) -> QueuePartitionIdx
fn clone(&self) -> QueuePartitionIdx
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 QueuePartitionIdx
impl Debug for QueuePartitionIdx
Source§impl Default for QueuePartitionIdx
impl Default for QueuePartitionIdx
Source§fn default() -> QueuePartitionIdx
fn default() -> QueuePartitionIdx
Returns the “default value” for a type. Read more
Source§impl Display for QueuePartitionIdx
impl Display for QueuePartitionIdx
Source§impl From<QueuePartitionIdx> for u16
impl From<QueuePartitionIdx> for u16
Source§fn from(value: QueuePartitionIdx) -> Self
fn from(value: QueuePartitionIdx) -> Self
Converts to this type from the input type.
Source§impl From<u16> for QueuePartitionIdx
impl From<u16> for QueuePartitionIdx
Source§impl Hash for QueuePartitionIdx
impl Hash for QueuePartitionIdx
Source§impl Ord for QueuePartitionIdx
impl Ord for QueuePartitionIdx
Source§fn cmp(&self, other: &QueuePartitionIdx) -> Ordering
fn cmp(&self, other: &QueuePartitionIdx) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<&QueuePartitionIdx> for u16
impl PartialEq<&QueuePartitionIdx> for u16
Source§impl PartialEq<&u16> for QueuePartitionIdx
impl PartialEq<&u16> for QueuePartitionIdx
Source§impl PartialEq<QueuePartitionIdx> for u16
impl PartialEq<QueuePartitionIdx> for u16
Source§impl PartialEq<u16> for QueuePartitionIdx
impl PartialEq<u16> for QueuePartitionIdx
Source§impl PartialEq for QueuePartitionIdx
impl PartialEq for QueuePartitionIdx
Source§impl PartialOrd for QueuePartitionIdx
impl PartialOrd for QueuePartitionIdx
Source§impl StoredValue for QueuePartitionIdx
Available on crate feature storage only.
impl StoredValue for QueuePartitionIdx
Available on crate feature
storage only.Source§type OnStackSlice = [u8; 2]
type OnStackSlice = [u8; 2]
On-stack buffer type (see
smallvec::SmallVec)Source§fn serialize<T: StoredValueBuffer>(&self, buffer: &mut T)
fn serialize<T: StoredValueBuffer>(&self, buffer: &mut T)
Serializes the data to the buffer
Source§fn deserialize(reader: &mut &[u8]) -> Self
fn deserialize(reader: &mut &[u8]) -> Self
Deserializes the data from the buffer. Read more
Source§fn from_slice(data: &[u8]) -> Selfwhere
Self: Sized,
fn from_slice(data: &[u8]) -> Selfwhere
Self: Sized,
Deserializes the data from the buffer. Read more
Source§fn to_vec(&self) -> SmallVec<Self::OnStackSlice>
fn to_vec(&self) -> SmallVec<Self::OnStackSlice>
Constructs on-stack buffer with the serialized object
impl Copy for QueuePartitionIdx
impl Eq for QueuePartitionIdx
impl StructuralPartialEq for QueuePartitionIdx
Auto Trait Implementations§
impl Freeze for QueuePartitionIdx
impl RefUnwindSafe for QueuePartitionIdx
impl Send for QueuePartitionIdx
impl Sync for QueuePartitionIdx
impl Unpin for QueuePartitionIdx
impl UnwindSafe for QueuePartitionIdx
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
Compares
self to key and returns true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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