Enum bones_schema::EnumTagType
source · pub enum EnumTagType {
U8,
U16,
U32,
}
Expand description
A type for an enum tag for EnumSchemaInfo
.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for EnumTagType
impl Clone for EnumTagType
source§fn clone(&self) -> EnumTagType
fn clone(&self) -> EnumTagType
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 EnumTagType
impl Debug for EnumTagType
source§impl PartialEq for EnumTagType
impl PartialEq for EnumTagType
source§fn eq(&self, other: &EnumTagType) -> bool
fn eq(&self, other: &EnumTagType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EnumTagType
impl StructuralPartialEq for EnumTagType
Auto Trait Implementations§
impl Freeze for EnumTagType
impl RefUnwindSafe for EnumTagType
impl Send for EnumTagType
impl Sync for EnumTagType
impl Unpin for EnumTagType
impl UnwindSafe for EnumTagType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more