Struct croaring_sys::roaring_memory_s
source · [−]#[repr(C)]pub struct roaring_memory_s {
pub malloc: roaring_malloc_p,
pub realloc: roaring_realloc_p,
pub calloc: roaring_calloc_p,
pub free: roaring_free_p,
pub aligned_malloc: roaring_aligned_malloc_p,
pub aligned_free: roaring_aligned_free_p,
}Fields
malloc: roaring_malloc_prealloc: roaring_realloc_pcalloc: roaring_calloc_pfree: roaring_free_paligned_malloc: roaring_aligned_malloc_paligned_free: roaring_aligned_free_pTrait Implementations
sourceimpl Clone for roaring_memory_s
impl Clone for roaring_memory_s
sourcefn clone(&self) -> roaring_memory_s
fn clone(&self) -> roaring_memory_s
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for roaring_memory_s
impl Debug for roaring_memory_s
impl Copy for roaring_memory_s
Auto Trait Implementations
impl RefUnwindSafe for roaring_memory_s
impl Send for roaring_memory_s
impl Sync for roaring_memory_s
impl Unpin for roaring_memory_s
impl UnwindSafe for roaring_memory_s
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more