Skip to main content

CastOpWithNNegInterface

Trait CastOpWithNNegInterface 

Source
pub trait CastOpWithNNegInterface:
    Op
    + CastOpInterface
    + NNegFlag
    + NResultsInterface<1>
    + NOpdsInterface<1> {
    // Provided method
    fn new_with_nneg(
        ctx: &mut Context,
        operand: Value,
        res_type: Ptr<TypeObj>,
        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: Ptr<TypeObj>, nneg: bool, ) -> Self
where Self: Sized,

Create a new cast operation with nneg flag

Trait Implementations§

Implementors§