pub enum SortKind {
Direction(i32),
ComparisonFunctionReference(u32),
}
Variants§
Implementations§
Source§impl SortKind
impl SortKind
Sourcepub fn merge(
field: &mut Option<SortKind>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<SortKind>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
impl Copy for SortKind
impl StructuralPartialEq for SortKind
Auto Trait Implementations§
impl Freeze for SortKind
impl RefUnwindSafe for SortKind
impl Send for SortKind
impl Sync for SortKind
impl Unpin for SortKind
impl UnwindSafe for SortKind
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