pub struct Section<D> {
pub name: String,
pub items: Vec<D>,
}
Fields§
§name: String
§items: Vec<D>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for Section<D>
impl<D> RefUnwindSafe for Section<D>where
D: RefUnwindSafe,
impl<D> Send for Section<D>where
D: Send,
impl<D> Sync for Section<D>where
D: Sync,
impl<D> Unpin for Section<D>where
D: Unpin,
impl<D> UnwindSafe for Section<D>where
D: UnwindSafe,
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