pub struct GraphMemoryLayout {
pub total_size: usize,
pub use_memory_mapping: bool,
pub compression_enabled: bool,
pub lazy_loading: bool,
pub chunk_size: usize,
pub prefetch_enabled: bool,
}Expand description
Memory layout configuration for graphs
Fields§
§total_size: usize§use_memory_mapping: bool§compression_enabled: bool§lazy_loading: bool§chunk_size: usize§prefetch_enabled: boolTrait Implementations§
Source§impl Clone for GraphMemoryLayout
impl Clone for GraphMemoryLayout
Source§fn clone(&self) -> GraphMemoryLayout
fn clone(&self) -> GraphMemoryLayout
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for GraphMemoryLayout
impl RefUnwindSafe for GraphMemoryLayout
impl Send for GraphMemoryLayout
impl Sync for GraphMemoryLayout
impl Unpin for GraphMemoryLayout
impl UnsafeUnpin for GraphMemoryLayout
impl UnwindSafe for GraphMemoryLayout
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more