pub enum AlarmProximity {
None,
Enter,
Leave,
}Expand description
Proximity trigger for a location-based alarm.
Variants§
None
No proximity trigger.
Enter
Trigger when entering the location.
Leave
Trigger when leaving the location.
Trait Implementations§
Source§impl Clone for AlarmProximity
impl Clone for AlarmProximity
Source§fn clone(&self) -> AlarmProximity
fn clone(&self) -> AlarmProximity
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 AlarmProximity
Source§impl Debug for AlarmProximity
impl Debug for AlarmProximity
Source§impl Default for AlarmProximity
impl Default for AlarmProximity
Source§fn default() -> AlarmProximity
fn default() -> AlarmProximity
Returns the “default value” for a type. Read more
impl Eq for AlarmProximity
Source§impl PartialEq for AlarmProximity
impl PartialEq for AlarmProximity
impl StructuralPartialEq for AlarmProximity
Auto Trait Implementations§
impl Freeze for AlarmProximity
impl RefUnwindSafe for AlarmProximity
impl Send for AlarmProximity
impl Sync for AlarmProximity
impl Unpin for AlarmProximity
impl UnsafeUnpin for AlarmProximity
impl UnwindSafe for AlarmProximity
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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