pub struct SectionGroup {
pub sections: Vec<Section>,
pub accordion: bool,
}Fields§
§sections: Vec<Section>§accordion: boolImplementations§
Source§impl SectionGroup
impl SectionGroup
pub fn new() -> SectionGroup
pub fn section(self, section: Section) -> SectionGroup
pub fn accordion(self, accordion: bool) -> SectionGroup
Trait Implementations§
Source§impl Clone for SectionGroup
impl Clone for SectionGroup
Source§fn clone(&self) -> SectionGroup
fn clone(&self) -> SectionGroup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SectionGroup
impl Debug for SectionGroup
Source§impl Default for SectionGroup
impl Default for SectionGroup
Source§fn default() -> SectionGroup
fn default() -> SectionGroup
Returns the “default value” for a type. Read more
Source§impl PartialEq for SectionGroup
impl PartialEq for SectionGroup
Source§impl Renderable for SectionGroup
impl Renderable for SectionGroup
impl StructuralPartialEq for SectionGroup
Auto Trait Implementations§
impl Freeze for SectionGroup
impl RefUnwindSafe for SectionGroup
impl Send for SectionGroup
impl Sync for SectionGroup
impl Unpin for SectionGroup
impl UnwindSafe for SectionGroup
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