pub struct GetLocationResponse { /* private fields */ }Implementations§
Source§impl GetLocationResponse
impl GetLocationResponse
pub fn new(_cmd: &NexstarCommand, response: &[u8]) -> Self
pub const fn success(&self) -> bool
pub const fn latitude_deg(&self) -> u8
pub const fn latitude_min(&self) -> u8
pub const fn latitude_sec(&self) -> u8
pub const fn direction_ns(&self) -> NexstarNs
pub const fn longitude_deg(&self) -> u8
pub const fn longitude_min(&self) -> u8
pub const fn longitude_sec(&self) -> u8
pub const fn direction_ew(&self) -> NexstarEw
Trait Implementations§
Source§impl Clone for GetLocationResponse
impl Clone for GetLocationResponse
Source§fn clone(&self) -> GetLocationResponse
fn clone(&self) -> GetLocationResponse
Returns a duplicate 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 Debug for GetLocationResponse
impl Debug for GetLocationResponse
Source§impl PartialEq for GetLocationResponse
impl PartialEq for GetLocationResponse
impl Eq for GetLocationResponse
impl StructuralPartialEq for GetLocationResponse
Auto Trait Implementations§
impl Freeze for GetLocationResponse
impl RefUnwindSafe for GetLocationResponse
impl Send for GetLocationResponse
impl Sync for GetLocationResponse
impl Unpin for GetLocationResponse
impl UnsafeUnpin for GetLocationResponse
impl UnwindSafe for GetLocationResponse
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