#[repr(i32)]pub enum IntegerBool {
True = 1,
False = 0,
}Expand description
A boolean value that can be used in integer attributes.
Variants§
Trait Implementations§
Source§impl Clone for IntegerBool
impl Clone for IntegerBool
Source§fn clone(&self) -> IntegerBool
fn clone(&self) -> IntegerBool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<bool> for IntegerBool
impl From<bool> for IntegerBool
Source§impl PartialEq for IntegerBool
impl PartialEq for IntegerBool
impl Copy for IntegerBool
impl Eq for IntegerBool
impl StructuralPartialEq for IntegerBool
Auto Trait Implementations§
impl Freeze for IntegerBool
impl RefUnwindSafe for IntegerBool
impl Send for IntegerBool
impl Sync for IntegerBool
impl Unpin for IntegerBool
impl UnwindSafe for IntegerBool
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