Trait tidb_query_aggr::impl_bit_op::BitOp[][src]

pub trait BitOp: Clone + Debug + Send + Sync + 'static {
    fn tp() -> ExprType;
fn init_state() -> u64;
fn op(lhs: &mut u64, rhs: u64); }

A trait for all bit operations

Required methods

fn tp() -> ExprType[src]

Returns the bit operation type

fn init_state() -> u64[src]

Returns the bit operation initial state

fn op(lhs: &mut u64, rhs: u64)[src]

Executes the special bit operation

Loading content...

Implementors

impl BitOp for BitAnd[src]

impl BitOp for BitOr[src]

impl BitOp for BitXor[src]

Loading content...