pub struct Section<'a> {
pub group: &'a Group,
pub relevant: bool,
pub fields: Vec<&'a Field>,
pub groups: Vec<Section<'a>>,
}Expand description
One group with the fields it names, resolved against a body — what a caller draws.
Fields§
§group: &'a Group§relevant: boolWhether the instrument is using these controls: this group’s own condition and
every ancestor’s. Group::is_relevant on group answers for this level alone,
where a caller wants to tell “the section is off” from “this cluster is not the
selected one”.
fields: Vec<&'a Field>This group’s own fields, in reading order, prefix.* expanded.
groups: Vec<Section<'a>>The nested groups, resolved the same way.
Auto Trait Implementations§
impl<'a> Freeze for Section<'a>
impl<'a> RefUnwindSafe for Section<'a>
impl<'a> Send for Section<'a>
impl<'a> Sync for Section<'a>
impl<'a> Unpin for Section<'a>
impl<'a> UnsafeUnpin for Section<'a>
impl<'a> UnwindSafe for Section<'a>
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