pub struct RingConfig {
pub shape: Option<RingShape>,
pub capacity: Option<usize>,
pub locale: Option<BackingTarget>,
}Expand description
Compound morph target for CapacityAdaptiveRing::morph_to_config.
Every axis is optional; None keeps the current value. One
compound morph builds ONE fresh backing at the combined target,
mirrors registrations once, bumps the pin generation once, and
appends the displaced active to the stale list once - however
many axes changed.
Fields§
§shape: Option<RingShape>Target shape (None = keep the active backing’s shape).
capacity: Option<usize>Target capacity, pow2 >= 2 (None = keep).
locale: Option<BackingTarget>Target locale (None = keep). Setting this retargets the
wrapper’s locale for this morph AND every subsequent morph
/ prewarm.
Trait Implementations§
Source§impl Clone for RingConfig
impl Clone for RingConfig
Source§fn clone(&self) -> RingConfig
fn clone(&self) -> RingConfig
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 moreSource§impl Debug for RingConfig
impl Debug for RingConfig
Source§impl Default for RingConfig
impl Default for RingConfig
Source§fn default() -> RingConfig
fn default() -> RingConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RingConfig
impl RefUnwindSafe for RingConfig
impl Send for RingConfig
impl Sync for RingConfig
impl Unpin for RingConfig
impl UnsafeUnpin for RingConfig
impl UnwindSafe for RingConfig
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