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