#[repr(C)]pub struct Params {
pub kind: usize,
pub size: *mut u32,
pub align: *mut u32,
}Expand description
Parameters of get_layout
Fields§
§kind: usizeThe kind of object.
size: *mut u32The size.
align: *mut u32The alignment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl !Send for Params
impl !Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
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