pub trait CastOpWithNNegInterface:
Op
+ CastOpInterface
+ NNegFlag {
// Provided method
fn new_with_nneg(
ctx: &mut Context,
operand: Value,
res_type: TypeHandle,
nneg: bool,
) -> Self
where Self: Sized { ... }
}Expand description
A Cast [Op] with NNEG flag.
Provided Methods§
Sourcefn new_with_nneg(
ctx: &mut Context,
operand: Value,
res_type: TypeHandle,
nneg: bool,
) -> Selfwhere
Self: Sized,
fn new_with_nneg(
ctx: &mut Context,
operand: Value,
res_type: TypeHandle,
nneg: bool,
) -> Selfwhere
Self: Sized,
Create a new cast operation with nneg flag
Trait Implementations§
impl OpInterfaceMarker for dyn CastOpWithNNegInterface
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".