Struct safe_token_2022::pod::PodBool
source · [−]#[repr(transparent)]pub struct PodBool(_);
Expand description
The standard bool
is not a Pod
, define a replacement that is
Trait Implementations
impl Copy for PodBool
impl Pod for PodBool
impl StructuralPartialEq for PodBool
Auto Trait Implementations
impl RefUnwindSafe for PodBool
impl Send for PodBool
impl Sync for PodBool
impl Unpin for PodBool
impl UnwindSafe for PodBool
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
. Read more