#[repr(i16)]pub enum ComBool {
False = 0,
True = -1,
}Expand description
Enum equivalent to COM [BOOL]. False is 0 and True is all ones (-1)
Variants§
Implementations§
Trait Implementations§
impl Copy for ComBool
impl Eq for ComBool
Source§impl Ord for ComBool
impl Ord for ComBool
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ComBool
impl PartialOrd for ComBool
impl StructuralPartialEq for ComBool
Auto Trait Implementations§
impl Freeze for ComBool
impl RefUnwindSafe for ComBool
impl Send for ComBool
impl Sync for ComBool
impl Unpin for ComBool
impl UnsafeUnpin for ComBool
impl UnwindSafe for ComBool
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