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