pub struct SortKey<T>(pub T);Tuple Fields§
§0: TTrait Implementations§
Source§impl<T> Value for SortKey<T>
impl<T> Value for SortKey<T>
Source§type SelfType<'a> = &'a [u8]
where
Self: 'a
type SelfType<'a> = &'a [u8] where Self: 'a
SelfType<'a> must be the same type as Self with all lifetimes replaced with ’atype AsBytes<'a> = &'a [u8] where Self: 'a
Source§fn fixed_width() -> Option<usize>
fn fixed_width() -> Option<usize>
Width of a fixed type, or None for variable width
Source§fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>where
Self: 'a,
fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>where
Self: 'a,
Deserializes data
Implementations may return a view over data, or an owned type
Auto Trait Implementations§
impl<T> Freeze for SortKey<T>where
T: Freeze,
impl<T> RefUnwindSafe for SortKey<T>where
T: RefUnwindSafe,
impl<T> Send for SortKey<T>where
T: Send,
impl<T> Sync for SortKey<T>where
T: Sync,
impl<T> Unpin for SortKey<T>where
T: Unpin,
impl<T> UnwindSafe for SortKey<T>where
T: UnwindSafe,
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