[−][src]Struct GPS_project_aisha::GPS
The field of the data received from the GPS antenna
Implementations
impl GPS
[src]
pub fn init() -> Self
[src]
The initialization of the struct values
pub fn convert(&mut self, gps_string: Vec<&str>)
[src]
Reads values from a vector to assign to the fields in the struct
pub fn collect_data(&mut self, data: String)
[src]
Reads raw data from the GPS antenna and converts to a vector
pub fn set_uart(&mut self)
[src]
Sets the UART settings to enable the raspberry pi to read
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GPS
impl Send for GPS
impl Sync for GPS
impl Unpin for GPS
impl UnwindSafe for GPS
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,