pub struct Lessons(pub Arc<dyn LessonSource>);Expand description
Service registered in crate::node::Services: where nodes find lessons.
Tuple Fields§
§0: Arc<dyn LessonSource>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Lessons
impl !UnwindSafe for Lessons
impl Forget for Lessons
impl Freeze for Lessonswhere
*const ArcInner<dyn LessonSource> is !null: Freeze,
PhantomData<ArcInner<dyn LessonSource>>: Freeze,
impl Move for Lessons
impl Send for Lessons
impl Sync for Lessons
impl Unpin for Lessons
impl UnsafeUnpin for Lessonswhere
*const ArcInner<dyn LessonSource> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn LessonSource>>: UnsafeUnpin,
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