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