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