pub enum Boundary {
Inside,
Outside,
Exited,
Entered,
}Expand description
Where a fix sits relative to a Geofence, including the moment it crosses.
Variants§
Inside
The fix is inside the fence and was inside before, or is the first fix inside.
Outside
The fix is outside the fence and was outside before, or is the first fix outside.
Exited
The fix just crossed from inside to outside: the moment to raise a breach alert.
Entered
The fix just crossed from outside back inside.
Trait Implementations§
impl Copy for Boundary
impl Eq for Boundary
impl StructuralPartialEq for Boundary
Auto Trait Implementations§
impl Freeze for Boundary
impl RefUnwindSafe for Boundary
impl Send for Boundary
impl Sync for Boundary
impl Unpin for Boundary
impl UnsafeUnpin for Boundary
impl UnwindSafe for Boundary
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