Struct tskit::bindings::tsk_blkalloc_t
source · [−]#[repr(C)]pub struct tsk_blkalloc_t {
pub chunk_size: size_t,
pub top: size_t,
pub current_chunk: size_t,
pub total_size: size_t,
pub total_allocated: size_t,
pub num_chunks: size_t,
pub mem_chunks: *mut *mut c_char,
}
Fields
chunk_size: size_t
top: size_t
current_chunk: size_t
total_size: size_t
total_allocated: size_t
num_chunks: size_t
mem_chunks: *mut *mut c_char
Trait Implementations
sourceimpl Clone for tsk_blkalloc_t
impl Clone for tsk_blkalloc_t
sourcefn clone(&self) -> tsk_blkalloc_t
fn clone(&self) -> tsk_blkalloc_t
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 tsk_blkalloc_t
impl Debug for tsk_blkalloc_t
impl Copy for tsk_blkalloc_t
Auto Trait Implementations
impl RefUnwindSafe for tsk_blkalloc_t
impl !Send for tsk_blkalloc_t
impl !Sync for tsk_blkalloc_t
impl Unpin for tsk_blkalloc_t
impl UnwindSafe for tsk_blkalloc_t
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