Enum persy::IndexTypeId
source · [−]pub enum IndexTypeId {
Show 15 variants
U8,
U16,
U32,
U64,
U128,
I8,
I16,
I32,
I64,
I128,
F32W,
F64W,
String,
PersyId,
ByteVec,
}
Expand description
Enum of all the possible Key or Value types for indexes
Variants
U8
U16
U32
U64
U128
I8
I16
I32
I64
I128
F32W
F64W
String
PersyId
ByteVec
Trait Implementations
sourceimpl Clone for IndexTypeId
impl Clone for IndexTypeId
sourcefn clone(&self) -> IndexTypeId
fn clone(&self) -> IndexTypeId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl From<u8> for IndexTypeId
impl From<u8> for IndexTypeId
sourcefn from(val: u8) -> IndexTypeId
fn from(val: u8) -> IndexTypeId
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for IndexTypeId
impl Send for IndexTypeId
impl Sync for IndexTypeId
impl Unpin for IndexTypeId
impl UnwindSafe for IndexTypeId
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