pub struct Setpoints {
pub v_set: f32,
pub i_set: f32,
}Expand description
Output voltage / current setpoints (registers 0x0000–0x0001).
Fields§
§v_set: f32§i_set: f32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Setpoints
impl<'de> Deserialize<'de> for Setpoints
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Setpoints
impl StructuralPartialEq for Setpoints
Auto Trait Implementations§
impl Freeze for Setpoints
impl RefUnwindSafe for Setpoints
impl Send for Setpoints
impl Sync for Setpoints
impl Unpin for Setpoints
impl UnsafeUnpin for Setpoints
impl UnwindSafe for Setpoints
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