#[repr(C)]
pub union MemAllocOption {
pub pool: MemAllocOption__bindgen_ty_1,
pub allocator: MemAllocOption__bindgen_ty_2,
}
Fields§
§pool: MemAllocOption__bindgen_ty_1
§allocator: MemAllocOption__bindgen_ty_2
Trait Implementations§
Source§impl Clone for MemAllocOption
impl Clone for MemAllocOption
Source§fn clone(&self) -> MemAllocOption
fn clone(&self) -> MemAllocOption
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for MemAllocOption
impl Default for MemAllocOption
impl Copy for MemAllocOption
Auto Trait Implementations§
impl Freeze for MemAllocOption
impl RefUnwindSafe for MemAllocOption
impl !Send for MemAllocOption
impl !Sync for MemAllocOption
impl Unpin for MemAllocOption
impl UnwindSafe for MemAllocOption
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