pub struct RegionOptions { /* private fields */ }Expand description
Immutable private allocation policy.
Implementations§
Source§impl RegionOptions
impl RegionOptions
Sourcepub const fn with_max_bytes(self, maximum_len: usize) -> Self
pub const fn with_max_bytes(self, maximum_len: usize) -> Self
Sets the inclusive replacement-growth limit before preparation.
Sourcepub const fn with_guard_policy(self, guard: GuardPolicy) -> Self
pub const fn with_guard_policy(self, guard: GuardPolicy) -> Self
Selects guard-band behavior.
Trait Implementations§
Source§impl Clone for RegionOptions
impl Clone for RegionOptions
Source§fn clone(&self) -> RegionOptions
fn clone(&self) -> RegionOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegionOptions
Source§impl Debug for RegionOptions
impl Debug for RegionOptions
impl Eq for RegionOptions
Source§impl PartialEq for RegionOptions
impl PartialEq for RegionOptions
impl StructuralPartialEq for RegionOptions
Auto Trait Implementations§
impl Freeze for RegionOptions
impl RefUnwindSafe for RegionOptions
impl Send for RegionOptions
impl Sync for RegionOptions
impl Unpin for RegionOptions
impl UnsafeUnpin for RegionOptions
impl UnwindSafe for RegionOptions
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