#[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 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 XPLMKeyFlags
impl Debug for XPLMKeyFlags
Source§impl Hash for XPLMKeyFlags
impl Hash for XPLMKeyFlags
Source§impl PartialEq for XPLMKeyFlags
impl PartialEq for XPLMKeyFlags
impl Copy for XPLMKeyFlags
impl Eq for XPLMKeyFlags
impl StructuralPartialEq for XPLMKeyFlags
Auto Trait Implementations§
impl Freeze for XPLMKeyFlags
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