pub struct DptPowerDensity(/* private fields */);
Implementations§
Source§impl DptPowerDensity
impl DptPowerDensity
pub fn from_bytes(buf: &[u8]) -> Result<DptPowerDensity, KnxNetIpError>
pub fn from_float32(v: f32) -> DptPowerDensity
pub fn as_float32(&self) -> f32
Trait Implementations§
Source§impl Clone for DptPowerDensity
impl Clone for DptPowerDensity
Source§fn clone(&self) -> DptPowerDensity
fn clone(&self) -> DptPowerDensity
Returns a copy 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 DPT for DptPowerDensity
impl DPT for DptPowerDensity
Source§impl Debug for DptPowerDensity
impl Debug for DptPowerDensity
Source§impl Default for DptPowerDensity
impl Default for DptPowerDensity
Source§fn default() -> DptPowerDensity
fn default() -> DptPowerDensity
Returns the “default value” for a type. Read more
Source§impl Display for DptPowerDensity
impl Display for DptPowerDensity
Source§impl PartialEq for DptPowerDensity
impl PartialEq for DptPowerDensity
impl Copy for DptPowerDensity
impl StructuralPartialEq for DptPowerDensity
Auto Trait Implementations§
impl Freeze for DptPowerDensity
impl RefUnwindSafe for DptPowerDensity
impl Send for DptPowerDensity
impl Sync for DptPowerDensity
impl Unpin for DptPowerDensity
impl UnwindSafe for DptPowerDensity
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