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 moreimpl Collect for TypeLayoutInfo
impl Copy for TypeLayoutInfo
Source§impl Debug for TypeLayoutInfo
impl Debug for TypeLayoutInfo
impl Eq for TypeLayoutInfo
Source§impl PartialEq for TypeLayoutInfo
impl PartialEq 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