Enum scale_bits::scale::format::StoreFormat
source · pub enum StoreFormat {
U8,
U16,
U32,
U64,
}
Expand description
This is a runtime representation of the store type that we’re targeting. These
are equivalent to the bitvec
store types u8
, u16
and so on.
Variants§
Trait Implementations§
source§impl Clone for StoreFormat
impl Clone for StoreFormat
source§fn clone(&self) -> StoreFormat
fn clone(&self) -> StoreFormat
Returns a copy 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 StoreFormat
impl Debug for StoreFormat
source§impl PartialEq<StoreFormat> for StoreFormat
impl PartialEq<StoreFormat> for StoreFormat
source§fn eq(&self, other: &StoreFormat) -> bool
fn eq(&self, other: &StoreFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StoreFormat
impl Eq for StoreFormat
impl StructuralEq for StoreFormat
impl StructuralPartialEq for StoreFormat
Auto Trait Implementations§
impl RefUnwindSafe for StoreFormat
impl Send for StoreFormat
impl Sync for StoreFormat
impl Unpin for StoreFormat
impl UnwindSafe for StoreFormat
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