pub struct Chapter {
pub title: String,
pub contents: Arc<RwLock<Vec<Content>>>,
}Fields§
§title: String§contents: Arc<RwLock<Vec<Content>>>Auto Trait Implementations§
impl !RefUnwindSafe for Chapter
impl Send for Chapter
impl Sync for Chapter
impl Unpin for Chapter
impl !UnwindSafe for Chapter
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