pub struct PropArg(pub u32);Expand description
A property named by its mnemonic or its number.
phy-freq, PHY_FREQ, PROP_PHY_FREQ, 35, and 0x23 all name
the same property. The spelling with dashes is what fits a command
line; the others are what the spec and the traces call it, and
refusing them would only make somebody transliterate.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for PropArg
impl Eq for PropArg
impl StructuralPartialEq for PropArg
Auto Trait Implementations§
impl Freeze for PropArg
impl RefUnwindSafe for PropArg
impl Send for PropArg
impl Sync for PropArg
impl Unpin for PropArg
impl UnwindSafe for PropArg
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)