pub struct Page {
pub title: &'static str,
pub icon: Option<&'static str>,
pub help: &'static str,
pub sections: Vec<Section>,
}Expand description
A top-level editor page (a stage of the signal path, a layer, …).
Fields§
§title: &'static strThe page’s title (“Filter”).
icon: Option<&'static str>Symbolic icon name the apps ship, if any. For now these are the GTK
app’s symbolic icon ids (oscyl-filter-symbolic, …); other apps map
them to their own icons.
help: &'static strAn introduction shown under the page heading, or empty.
sections: Vec<Section>The page’s sections, in display order.
Trait Implementations§
impl Eq for Page
impl StructuralPartialEq for Page
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnsafeUnpin for Page
impl UnwindSafe for Page
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