pub struct ArchitectureStatePartitionRule { /* private fields */ }Expand description
One architecture-authored rule in a mutable-state partition plan.
Implementations§
Source§impl ArchitectureStatePartitionRule
impl ArchitectureStatePartitionRule
Sourcepub fn group_units(group: usize, layers: Range<usize>) -> Self
pub fn group_units(group: usize, layers: Range<usize>) -> Self
Aligns a state range one-for-one with an execution group’s unit indices.
Sourcepub fn output_owner(layers: Range<usize>) -> Self
pub fn output_owner(layers: Range<usize>) -> Self
Attaches a complete state range to the architecture output owner.
Sourcepub fn layers(&self) -> Range<usize> ⓘ
pub fn layers(&self) -> Range<usize> ⓘ
Returns the architecture-global state-layer range governed by this rule.
Sourcepub const fn placement(&self) -> ArchitectureStatePlacement
pub const fn placement(&self) -> ArchitectureStatePlacement
Returns the rule’s neutral placement semantics.
Trait Implementations§
Source§impl Clone for ArchitectureStatePartitionRule
impl Clone for ArchitectureStatePartitionRule
Source§fn clone(&self) -> ArchitectureStatePartitionRule
fn clone(&self) -> ArchitectureStatePartitionRule
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 ArchitectureStatePartitionRule
impl StructuralPartialEq for ArchitectureStatePartitionRule
Auto Trait Implementations§
impl Freeze for ArchitectureStatePartitionRule
impl RefUnwindSafe for ArchitectureStatePartitionRule
impl Send for ArchitectureStatePartitionRule
impl Sync for ArchitectureStatePartitionRule
impl Unpin for ArchitectureStatePartitionRule
impl UnsafeUnpin for ArchitectureStatePartitionRule
impl UnwindSafe for ArchitectureStatePartitionRule
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