pub struct TypeLayoutInfo {
pub name: &'static str,
pub size: usize,
pub align: usize,
pub structure: TypeStructure,
}Expand description
The concrete memory layout of a type: its name, size, minimum alignment and
TypeStructure.
Fields§
§name: &'static str§size: usize§align: usize§structure: TypeStructureTrait Implementations§
Source§impl Clone for TypeLayoutInfo
impl Clone for TypeLayoutInfo
Source§fn clone(&self) -> TypeLayoutInfo
fn clone(&self) -> TypeLayoutInfo
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 TypeLayoutInfo
impl Debug for TypeLayoutInfo
Source§impl PartialEq for TypeLayoutInfo
impl PartialEq for TypeLayoutInfo
Source§fn eq(&self, other: &TypeLayoutInfo) -> bool
fn eq(&self, other: &TypeLayoutInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Collect for TypeLayoutInfo
impl Copy for TypeLayoutInfo
impl Eq for TypeLayoutInfo
impl StructuralPartialEq for TypeLayoutInfo
Auto Trait Implementations§
impl Freeze for TypeLayoutInfo
impl RefUnwindSafe for TypeLayoutInfo
impl Send for TypeLayoutInfo
impl Sync for TypeLayoutInfo
impl Unpin for TypeLayoutInfo
impl UnsafeUnpin for TypeLayoutInfo
impl UnwindSafe for TypeLayoutInfo
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