Trait rbatis_codegen::ops::Not

source ·
pub trait Not {
    type Output;

    // Required method
    fn op_not(self) -> Self::Output;
}

Required Associated Types§

source

type Output

The resulting type after applying the ! operator.

Required Methods§

source

fn op_not(self) -> Self::Output

Performs the unary ! operation.

§Examples
assert_eq!(!true, false);
assert_eq!(!false, true);
assert_eq!(!1u8, 254);
assert_eq!(!0u8, 255);

Implementations on Foreign Types§

source§

impl Not for &Value

§

type Output = Value

source§

fn op_not(self) -> Self::Output

source§

impl Not for &mut Value

§

type Output = Value

source§

fn op_not(self) -> Self::Output

source§

impl Not for Value

§

type Output = Value

source§

fn op_not(self) -> Self::Output

Implementors§