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§
Sourcefn syncscope(&self, ctx: &Context) -> SyncScopeAttrwhere
Self: Sized,
fn syncscope(&self, ctx: &Context) -> SyncScopeAttrwhere
Self: Sized,
Get the synchronization scope of this [Op].
Sourcefn set_syncscope(&self, ctx: &Context, syncscope: SyncScopeAttr)where
Self: Sized,
fn set_syncscope(&self, ctx: &Context, syncscope: SyncScopeAttr)where
Self: Sized,
Set the synchronization scope of this [Op].
Trait Implementations§
impl OpInterfaceMarker for dyn SyncScopeInterface
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".