#[repr(C)]pub struct SetActive {
pub component_type: ComponentType,
}
Fields§
§component_type: ComponentType
Trait Implementations§
Source§impl CheckedBitPattern for SetActive
impl CheckedBitPattern for SetActive
Source§type Bits = SetActiveBits
type Bits = SetActiveBits
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: &SetActiveBits) -> bool
fn is_valid_bit_pattern(bits: &SetActiveBits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.impl Copy for SetActive
impl NoUninit for SetActive
Auto Trait Implementations§
impl Freeze for SetActive
impl RefUnwindSafe for SetActive
impl Send for SetActive
impl Sync for SetActive
impl Unpin for SetActive
impl UnwindSafe for SetActive
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