pub struct OrthogonalRegions<S> { /* private fields */ }Expand description
A set of simultaneously active state-machine regions.
Each event is offered to every region, matching orthogonal-region broadcast semantics. Storage remains caller-selected and allocation-free.
Implementations§
Source§impl<S> OrthogonalRegions<S>
impl<S> OrthogonalRegions<S>
Sourcepub fn regions_mut(&mut self) -> &mut S
pub fn regions_mut(&mut self) -> &mut S
Returns the region storage mutably.
Auto Trait Implementations§
impl<S> Freeze for OrthogonalRegions<S>where
S: Freeze,
impl<S> RefUnwindSafe for OrthogonalRegions<S>where
S: RefUnwindSafe,
impl<S> Send for OrthogonalRegions<S>where
S: Send,
impl<S> Sync for OrthogonalRegions<S>where
S: Sync,
impl<S> Unpin for OrthogonalRegions<S>where
S: Unpin,
impl<S> UnsafeUnpin for OrthogonalRegions<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for OrthogonalRegions<S>where
S: UnwindSafe,
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