Skip to main content

CastOpWithNNegInterface

Trait CastOpWithNNegInterface 

Source
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§

Source

fn new_with_nneg( ctx: &mut Context, operand: Value, res_type: TypeHandle, nneg: bool, ) -> Self
where Self: Sized,

Create a new cast operation with nneg flag

Trait Implementations§

Source§

impl OpInterfaceMarker for dyn CastOpWithNNegInterface

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§