pub trait VolatilityOpInterface: Op {
// Provided methods
fn is_volatile(&self, ctx: &Context) -> bool
where Self: Sized { ... }
fn set_volatile(&self, ctx: &Context, is_volatile: bool)
where Self: Sized { ... }
}Expand description
Ops that can be marked volatile.
Provided Methods§
Sourcefn is_volatile(&self, ctx: &Context) -> boolwhere
Self: Sized,
fn is_volatile(&self, ctx: &Context) -> boolwhere
Self: Sized,
Return whether this [Op] is volatile.
Sourcefn set_volatile(&self, ctx: &Context, is_volatile: bool)where
Self: Sized,
fn set_volatile(&self, ctx: &Context, is_volatile: bool)where
Self: Sized,
Set whether this [Op] is volatile.
Trait Implementations§
impl OpInterfaceMarker for dyn VolatilityOpInterface
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".