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