Trait rbatis_sql::ops::Not

source ·
pub trait Not {
    type Output;

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

Required Associated Types

The resulting type after applying the ! operator.

Required Methods

Performs the unary ! operation.

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

Implementors