pub struct Property {
pub prop: u16,
pub val: u64,
}Expand description
A property value (10 bytes on the wire, gud_property_req).
Fields§
§prop: u16Property id (PROPERTY_*).
val: u64Value. Its meaning depends on the property; val in advertised property
lists is the initial value reported to the host.
Trait Implementations§
impl Copy for Property
impl Eq for Property
impl StructuralPartialEq for Property
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnsafeUnpin for Property
impl UnwindSafe for Property
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