pub enum BarrierScope {
Instance(InstanceId),
Station(StationId),
}Expand description
Runtime barrier scope.
Variants§
Instance(InstanceId)
Barrier applies to a full world instance.
Station(StationId)
Barrier applies to a single station.
Trait Implementations§
Source§impl Clone for BarrierScope
impl Clone for BarrierScope
Source§fn clone(&self) -> BarrierScope
fn clone(&self) -> BarrierScope
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 BarrierScope
Source§impl Debug for BarrierScope
impl Debug for BarrierScope
impl Eq for BarrierScope
Source§impl PartialEq for BarrierScope
impl PartialEq for BarrierScope
impl StructuralPartialEq for BarrierScope
Auto Trait Implementations§
impl Freeze for BarrierScope
impl RefUnwindSafe for BarrierScope
impl Send for BarrierScope
impl Sync for BarrierScope
impl Unpin for BarrierScope
impl UnsafeUnpin for BarrierScope
impl UnwindSafe for BarrierScope
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