pub struct DynContext {
pub spawner: Spawner,
pub mcu: &'static dyn Mcu,
pub internal_channel: DynChannel,
pub external_channel: DynChannel,
pub layer_manager: LayerManager,
}Expand description
A dynamic dispatch version of Context.
Fields§
§spawner: Spawner§mcu: &'static dyn Mcu§internal_channel: DynChannel§external_channel: DynChannel§layer_manager: LayerManagerTrait Implementations§
Source§impl Clone for DynContext
impl Clone for DynContext
Source§fn clone(&self) -> DynContext
fn clone(&self) -> DynContext
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DynContext
Auto Trait Implementations§
impl Freeze for DynContext
impl !RefUnwindSafe for DynContext
impl !Send for DynContext
impl !Sync for DynContext
impl Unpin for DynContext
impl !UnwindSafe for DynContext
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