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