pub struct ArchitectureStatePartitionPlan { /* private fields */ }Expand description
Complete architecture-authored mutable-state partition policy.
Resolution validates that the rules cover the supplied StateLayout
exactly once and that unit-aligned ranges match their execution groups.
Implementations§
Source§impl ArchitectureStatePartitionPlan
impl ArchitectureStatePartitionPlan
Sourcepub fn new(
rules: impl IntoIterator<Item = ArchitectureStatePartitionRule>,
) -> Self
pub fn new( rules: impl IntoIterator<Item = ArchitectureStatePartitionRule>, ) -> Self
Collects the architecture’s state placement rules in declaration order.
Sourcepub fn rules(&self) -> &[ArchitectureStatePartitionRule]
pub fn rules(&self) -> &[ArchitectureStatePartitionRule]
Returns the declared state placement rules.
Trait Implementations§
Source§impl Clone for ArchitectureStatePartitionPlan
impl Clone for ArchitectureStatePartitionPlan
Source§fn clone(&self) -> ArchitectureStatePartitionPlan
fn clone(&self) -> ArchitectureStatePartitionPlan
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 Eq for ArchitectureStatePartitionPlan
impl StructuralPartialEq for ArchitectureStatePartitionPlan
Auto Trait Implementations§
impl Freeze for ArchitectureStatePartitionPlan
impl RefUnwindSafe for ArchitectureStatePartitionPlan
impl Send for ArchitectureStatePartitionPlan
impl Sync for ArchitectureStatePartitionPlan
impl Unpin for ArchitectureStatePartitionPlan
impl UnsafeUnpin for ArchitectureStatePartitionPlan
impl UnwindSafe for ArchitectureStatePartitionPlan
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