pub enum BACnetScale {
FloatScale(f32),
IntegerScale(i32),
}Expand description
BACnet Scale: CHOICE { float-scale [0] Real, integer-scale [1] Integer }.
Variants§
FloatScale(f32)
Present_Value is multiplied by this factor to get engineering units.
IntegerScale(i32)
Present_Value is multiplied by ten raised to this power to get engineering units.
Trait Implementations§
Source§impl Clone for BACnetScale
impl Clone for BACnetScale
Source§impl Debug for BACnetScale
impl Debug for BACnetScale
Source§impl PartialEq for BACnetScale
impl PartialEq for BACnetScale
impl StructuralPartialEq for BACnetScale
Auto Trait Implementations§
impl Freeze for BACnetScale
impl RefUnwindSafe for BACnetScale
impl Send for BACnetScale
impl Sync for BACnetScale
impl Unpin for BACnetScale
impl UnsafeUnpin for BACnetScale
impl UnwindSafe for BACnetScale
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