Trait galaxy_buds_rs::message::bud_property::BudProperty [−][src]
pub trait BudProperty { type Item; fn decode(val: u8) -> Self::Item; fn encode(&self) -> u8; fn side_val(val: u8, side: Side) -> u8 { ... } fn value(val: u8, side: Side) -> Self::Item { ... } }
Expand description
A property value of a single earbud
Associated Types
Required methods
Provided methods
Get the corresponding value of a byte based on the side of the earbud (left/right)