Struct alloc_no_stdlib::CallocBackingStore
source · pub struct CallocBackingStore<'a, T: 'a> {
pub raw_data: *mut u8,
pub data: &'a mut [T],
pub(crate) free: unsafe extern "C" fn(_: *mut u8),
}
Fields§
§raw_data: *mut u8
§data: &'a mut [T]
§free: unsafe extern "C" fn(_: *mut u8)
Implementations§
Trait Implementations§
source§impl<'a, T: Debug + 'a> Debug for CallocBackingStore<'a, T>
impl<'a, T: Debug + 'a> Debug for CallocBackingStore<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for CallocBackingStore<'a, T>
impl<'a, T> RefUnwindSafe for CallocBackingStore<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for CallocBackingStore<'a, T>
impl<'a, T> !Sync for CallocBackingStore<'a, T>
impl<'a, T> Unpin for CallocBackingStore<'a, T>
impl<'a, T> !UnwindSafe for CallocBackingStore<'a, T>
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