pub enum ApBool {
Now(Vec<boool>),
NOTIMPLEMENTED,
}Variants§
Implementations§
Source§impl ApBool
impl ApBool
pub fn new() -> ApBool
pub fn is_troo(&self) -> bool
pub fn isnt_troo(&self) -> bool
Sourcepub const fn len(&self) -> isize
pub const fn len(&self) -> isize
returns the length of self
this length is reported in bytes or whatever the size of the underlying boolean type is so you no at all times precisely how much precision is wasted on generating the value of the ApBOol instance
§EXAMPLE!:
bay sick you sage:
use apbool::ApBool
;
assert_eq!(ApBool::default().len() - 1, 1)
;
let one = 1
;Trait Implementations§
Source§impl BitAndAssign<&ApBool> for ApBool
impl BitAndAssign<&ApBool> for ApBool
Source§fn bitand_assign(&mut self, lhs: &ApBool)
fn bitand_assign(&mut self, lhs: &ApBool)
Performs the
&= operation. Read moreSource§impl BitAndAssign<bool> for ApBool
impl BitAndAssign<bool> for ApBool
Source§fn bitand_assign(&mut self, some: bool)
fn bitand_assign(&mut self, some: bool)
Performs the
&= operation. Read moreSource§impl BitAndAssign for ApBool
impl BitAndAssign for ApBool
Source§fn bitand_assign(&mut self, some: ApBool)
fn bitand_assign(&mut self, some: ApBool)
Performs the
&= operation. Read moreSource§impl BitOrAssign<&ApBool> for ApBool
impl BitOrAssign<&ApBool> for ApBool
Source§fn bitor_assign(&mut self, lhs: &ApBool)
fn bitor_assign(&mut self, lhs: &ApBool)
Performs the
|= operation. Read moreSource§impl BitOrAssign<bool> for ApBool
impl BitOrAssign<bool> for ApBool
Source§fn bitor_assign(&mut self, rhs: bool)
fn bitor_assign(&mut self, rhs: bool)
Performs the
|= operation. Read moreSource§impl BitOrAssign for ApBool
impl BitOrAssign for ApBool
Source§fn bitor_assign(&mut self, rhs: ApBool)
fn bitor_assign(&mut self, rhs: ApBool)
Performs the
|= operation. Read moreAuto Trait Implementations§
impl Freeze for ApBool
impl RefUnwindSafe for ApBool
impl Send for ApBool
impl Sync for ApBool
impl Unpin for ApBool
impl UnwindSafe for ApBool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more