#[repr(C)]pub struct IsReady {
pub is_ready: bool,
pub _pad: [u8; 3],
pub size: u32,
}
Fields§
§is_ready: bool
§_pad: [u8; 3]
§size: u32
Trait Implementations§
Source§impl CheckedBitPattern for IsReady
impl CheckedBitPattern for IsReady
Source§type Bits = IsReadyBits
type Bits = IsReadyBits
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(bits: &IsReadyBits) -> bool
fn is_valid_bit_pattern(bits: &IsReadyBits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.impl Copy for IsReady
impl Eq for IsReady
impl NoUninit for IsReady
impl StructuralPartialEq for IsReady
Auto Trait Implementations§
impl Freeze for IsReady
impl RefUnwindSafe for IsReady
impl Send for IsReady
impl Sync for IsReady
impl Unpin for IsReady
impl UnwindSafe for IsReady
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