Skip to main content

SyncScopeInterface

Trait SyncScopeInterface 

Source
pub trait SyncScopeInterface: Op {
    // Provided methods
    fn syncscope(&self, ctx: &Context) -> SyncScopeAttr
       where Self: Sized { ... }
    fn set_syncscope(&self, ctx: &Context, syncscope: SyncScopeAttr)
       where Self: Sized { ... }
}
Expand description

Atomic [Op]s that have a synchronization scope.

Provided Methods§

Source

fn syncscope(&self, ctx: &Context) -> SyncScopeAttr
where Self: Sized,

Get the synchronization scope of this [Op].

Source

fn set_syncscope(&self, ctx: &Context, syncscope: SyncScopeAttr)
where Self: Sized,

Set the synchronization scope of this [Op].

Trait Implementations§

Source§

impl OpInterfaceMarker for dyn SyncScopeInterface

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§