Struct tinkerforge::gps_v2_bricklet::Status
source · pub struct Status {
pub has_fix: bool,
pub satellites_view: u8,
}
Fields§
§has_fix: bool
§satellites_view: u8
Trait Implementations§
source§impl FromByteSlice for Status
impl FromByteSlice for Status
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> Status
fn from_le_byte_slice(bytes: &[u8]) -> Status
Deserialize the implementing type from a byte slice.
source§impl PartialEq for Status
impl PartialEq for Status
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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