#[repr(C)]pub enum PamojaBoundary {
Inside = 0,
Outside = 1,
Exited = 2,
Entered = 3,
}Expand description
Where a fix sits relative to a geofence, including the moment it crosses.
Variants§
Inside = 0
The fix is inside the fence and was inside before, or is the first fix inside.
Outside = 1
The fix is outside the fence and was outside before, or is the first fix outside.
Exited = 2
The fix just crossed from inside to outside: the moment to raise a breach alert.
Entered = 3
The fix just crossed from outside back inside.
Trait Implementations§
Source§impl Clone for PamojaBoundary
impl Clone for PamojaBoundary
Source§fn clone(&self) -> PamojaBoundary
fn clone(&self) -> PamojaBoundary
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 moreimpl Copy for PamojaBoundary
Source§impl Debug for PamojaBoundary
impl Debug for PamojaBoundary
impl Eq for PamojaBoundary
Source§impl From<Boundary> for PamojaBoundary
impl From<Boundary> for PamojaBoundary
Source§impl PartialEq for PamojaBoundary
impl PartialEq for PamojaBoundary
Source§fn eq(&self, other: &PamojaBoundary) -> bool
fn eq(&self, other: &PamojaBoundary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaBoundary
Auto Trait Implementations§
impl Freeze for PamojaBoundary
impl RefUnwindSafe for PamojaBoundary
impl Send for PamojaBoundary
impl Sync for PamojaBoundary
impl Unpin for PamojaBoundary
impl UnsafeUnpin for PamojaBoundary
impl UnwindSafe for PamojaBoundary
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