1 2 3 4 5 6 7 8 9 10 11 12
#[derive(Debug, PartialEq, Eq)]
#[allow(dead_code)]
pub struct Bitwise<T> {
value: T,
logical_value: bool,
}
pub trait Logical<T> {
fn and(self, args: Vec<T>) -> Bitwise<T>;
}
mod and;
1 2 3 4 5 6 7 8 9 10 11 12
#[derive(Debug, PartialEq, Eq)]
#[allow(dead_code)]
pub struct Bitwise<T> {
value: T,
logical_value: bool,
}
pub trait Logical<T> {
fn and(self, args: Vec<T>) -> Bitwise<T>;
}
mod and;