Struct cw_storage_plus::IntKeyOld
source · [−]pub struct IntKeyOld<T: Endian> {
pub wrapped: Vec<u8>,
pub data: PhantomData<T>,
}
Fields
wrapped: Vec<u8>
data: PhantomData<T>
Implementations
Trait Implementations
sourceimpl<'a, T: Endian> Bounder<'a> for IntKeyOld<T> where
IntKeyOld<T>: KeyDeserialize,
impl<'a, T: Endian> Bounder<'a> for IntKeyOld<T> where
IntKeyOld<T>: KeyDeserialize,
fn inclusive_bound(self) -> Option<Bound<'a, Self>>
fn exclusive_bound(self) -> Option<Bound<'a, Self>>
sourceimpl<'a, T: Endian + Clone> PrimaryKey<'a> for IntKeyOld<T> where
IntKeyOld<T>: KeyDeserialize,
impl<'a, T: Endian + Clone> PrimaryKey<'a> for IntKeyOld<T> where
IntKeyOld<T>: KeyDeserialize,
type Prefix = ()
type Prefix = ()
These associated types need to implement Prefixer
, so that they can be useful arguments
for prefix()
, sub_prefix()
, and their key-deserializable variants. Read more
type SubPrefix = ()
type Suffix = Self
type Suffix = Self
These associated types need to implement KeyDeserialize
, so that they can be returned from
range_de()
and friends. Read more
type SuperSuffix = Self
fn joined_key(&self) -> Vec<u8>
fn joined_extra_key(&self, key: &[u8]) -> Vec<u8>
impl<T: Eq + Endian> Eq for IntKeyOld<T>
impl<T: Endian> StructuralEq for IntKeyOld<T>
impl<T: Endian> StructuralPartialEq for IntKeyOld<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for IntKeyOld<T> where
T: RefUnwindSafe,
impl<T> Send for IntKeyOld<T> where
T: Send,
impl<T> Sync for IntKeyOld<T> where
T: Sync,
impl<T> Unpin for IntKeyOld<T> where
T: Unpin,
impl<T> UnwindSafe for IntKeyOld<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more