pub struct Section {
pub heading: String,
pub collapsible: bool,
pub open: bool,
pub keys: Vec<String>,
}Expand description
One Section block.
Fields§
§heading: StringThe heading’s text: the title, then the description.
collapsible: boolWhether the section folds its body away on a click of its heading.
open: boolWhether the page shows the section’s body: always for a section that does not collapse.
keys: Vec<String>The keys the controls in the section post, in document order, each once.
Trait Implementations§
impl Eq for Section
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl Forget for Section
impl Freeze for Section
impl Move for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.