pub struct PebbleServices {
pub accelerometer: AccelerometerService,
pub app_messages: AppMessages,
}Expand description
A collection of PebbleOS services that have global configuration, and therefore need to be configured from a single location.
An instance of this struct will be given to you by the main macro.
Fields§
§accelerometer: AccelerometerService§app_messages: AppMessagesAuto Trait Implementations§
impl Freeze for PebbleServices
impl RefUnwindSafe for PebbleServices
impl Send for PebbleServices
impl Sync for PebbleServices
impl Unpin for PebbleServices
impl UnsafeUnpin for PebbleServices
impl UnwindSafe for PebbleServices
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Init<T> for T
impl<T> Init<T> for T
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more