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