pub struct DptPower(/* private fields */);
Implementations§
Source§impl DptPower
impl DptPower
pub fn from_bytes(buf: &[u8]) -> Result<DptPower, KnxNetIpError>
pub fn from_float32(v: f32) -> DptPower
pub fn as_float32(&self) -> f32
Trait Implementations§
impl Copy for DptPower
impl StructuralPartialEq for DptPower
Auto Trait Implementations§
impl Freeze for DptPower
impl RefUnwindSafe for DptPower
impl Send for DptPower
impl Sync for DptPower
impl Unpin for DptPower
impl UnwindSafe for DptPower
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