pub struct FocuserPosition {
pub position: i32,
pub max_position: i32,
pub temperature: Option<f64>,
pub is_moving: bool,
}Expand description
Focuser position and state.
Fields§
§position: i32§max_position: i32§temperature: Option<f64>§is_moving: boolTrait Implementations§
Source§impl Clone for FocuserPosition
impl Clone for FocuserPosition
Source§fn clone(&self) -> FocuserPosition
fn clone(&self) -> FocuserPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FocuserPosition
impl Debug for FocuserPosition
Source§impl<'de> Deserialize<'de> for FocuserPosition
impl<'de> Deserialize<'de> for FocuserPosition
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
Source§impl PartialEq for FocuserPosition
impl PartialEq for FocuserPosition
Source§fn eq(&self, other: &FocuserPosition) -> bool
fn eq(&self, other: &FocuserPosition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FocuserPosition
impl Serialize for FocuserPosition
impl StructuralPartialEq for FocuserPosition
Auto Trait Implementations§
impl Freeze for FocuserPosition
impl RefUnwindSafe for FocuserPosition
impl Send for FocuserPosition
impl Sync for FocuserPosition
impl Unpin for FocuserPosition
impl UnsafeUnpin for FocuserPosition
impl UnwindSafe for FocuserPosition
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