pub struct EnumLayoutId(pub u32);Expand description
Opaque ID into a registry of enum layouts (resolved at compile time).
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for EnumLayoutId
impl Clone for EnumLayoutId
Source§fn clone(&self) -> EnumLayoutId
fn clone(&self) -> EnumLayoutId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EnumLayoutId
impl Debug for EnumLayoutId
Source§impl<'de> Deserialize<'de> for EnumLayoutId
impl<'de> Deserialize<'de> for EnumLayoutId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for EnumLayoutId
impl Hash for EnumLayoutId
Source§impl PartialEq for EnumLayoutId
impl PartialEq for EnumLayoutId
Source§fn eq(&self, other: &EnumLayoutId) -> bool
fn eq(&self, other: &EnumLayoutId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnumLayoutId
impl Serialize for EnumLayoutId
impl Copy for EnumLayoutId
impl Eq for EnumLayoutId
impl StructuralPartialEq for EnumLayoutId
Auto Trait Implementations§
impl Freeze for EnumLayoutId
impl RefUnwindSafe for EnumLayoutId
impl Send for EnumLayoutId
impl Sync for EnumLayoutId
impl Unpin for EnumLayoutId
impl UnsafeUnpin for EnumLayoutId
impl UnwindSafe for EnumLayoutId
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