pub struct StructLayoutId(pub u32);Expand description
Opaque ID into a registry of struct layouts (resolved at compile time).
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for StructLayoutId
impl Clone for StructLayoutId
Source§fn clone(&self) -> StructLayoutId
fn clone(&self) -> StructLayoutId
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 StructLayoutId
impl Debug for StructLayoutId
Source§impl<'de> Deserialize<'de> for StructLayoutId
impl<'de> Deserialize<'de> for StructLayoutId
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 StructLayoutId
impl Hash for StructLayoutId
Source§impl PartialEq for StructLayoutId
impl PartialEq for StructLayoutId
Source§fn eq(&self, other: &StructLayoutId) -> bool
fn eq(&self, other: &StructLayoutId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StructLayoutId
impl Serialize for StructLayoutId
impl Copy for StructLayoutId
impl Eq for StructLayoutId
impl StructuralPartialEq for StructLayoutId
Auto Trait Implementations§
impl Freeze for StructLayoutId
impl RefUnwindSafe for StructLayoutId
impl Send for StructLayoutId
impl Sync for StructLayoutId
impl Unpin for StructLayoutId
impl UnsafeUnpin for StructLayoutId
impl UnwindSafe for StructLayoutId
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