Struct xplane_sys::XPLMKeyFlags
source · #[repr(transparent)]pub struct XPLMKeyFlags(pub c_uint);Tuple Fields§
§0: c_uintImplementations§
source§impl XPLMKeyFlags
impl XPLMKeyFlags
pub const Shift: XPLMKeyFlags = _
source§impl XPLMKeyFlags
impl XPLMKeyFlags
pub const OptionAlt: XPLMKeyFlags = _
source§impl XPLMKeyFlags
impl XPLMKeyFlags
pub const Control: XPLMKeyFlags = _
source§impl XPLMKeyFlags
impl XPLMKeyFlags
pub const Down: XPLMKeyFlags = _
source§impl XPLMKeyFlags
impl XPLMKeyFlags
pub const Up: XPLMKeyFlags = _
Trait Implementations§
source§impl BitAnd for XPLMKeyFlags
impl BitAnd for XPLMKeyFlags
source§impl BitAndAssign for XPLMKeyFlags
impl BitAndAssign for XPLMKeyFlags
source§fn bitand_assign(&mut self, rhs: XPLMKeyFlags)
fn bitand_assign(&mut self, rhs: XPLMKeyFlags)
Performs the
&= operation. Read moresource§impl BitOr for XPLMKeyFlags
impl BitOr for XPLMKeyFlags
source§impl BitOrAssign for XPLMKeyFlags
impl BitOrAssign for XPLMKeyFlags
source§fn bitor_assign(&mut self, rhs: XPLMKeyFlags)
fn bitor_assign(&mut self, rhs: XPLMKeyFlags)
Performs the
|= operation. Read moresource§impl<T> BitRange<T> for XPLMKeyFlags
impl<T> BitRange<T> for XPLMKeyFlags
source§impl<T> BitRangeMut<T> for XPLMKeyFlagswhere
c_uint: BitRangeMut<T>,
impl<T> BitRangeMut<T> for XPLMKeyFlagswhere
c_uint: BitRangeMut<T>,
source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
source§impl Clone for XPLMKeyFlags
impl Clone for XPLMKeyFlags
source§fn clone(&self) -> XPLMKeyFlags
fn clone(&self) -> XPLMKeyFlags
Returns a copy 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 XPLMKeyFlags
impl Debug for XPLMKeyFlags
source§impl Hash for XPLMKeyFlags
impl Hash for XPLMKeyFlags
source§impl PartialEq for XPLMKeyFlags
impl PartialEq for XPLMKeyFlags
source§fn eq(&self, other: &XPLMKeyFlags) -> bool
fn eq(&self, other: &XPLMKeyFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for XPLMKeyFlags
impl Eq for XPLMKeyFlags
impl StructuralPartialEq for XPLMKeyFlags
Auto Trait Implementations§
impl RefUnwindSafe for XPLMKeyFlags
impl Send for XPLMKeyFlags
impl Sync for XPLMKeyFlags
impl Unpin for XPLMKeyFlags
impl UnwindSafe for XPLMKeyFlags
Blanket Implementations§
source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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