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 Lessons
impl Move for Lessons
impl Send for Lessons
impl Sync for Lessons
impl Unpin for Lessons
impl UnsafeUnpin for Lessons
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