pub struct Authored {
pub name: &'static str,
pub panel: &'static Panel,
pub specs: fn() -> Vec<FieldSpec>,
}Expand description
A layout and the registry it describes.
Every layout the crate ships is listed in AUTHORED, which is what the consistency
tests walk — so a layout is checked by existing, not by anyone remembering to check
it.
Fields§
§name: &'static str§panel: &'static Panel§specs: fn() -> Vec<FieldSpec>Auto Trait Implementations§
impl Freeze for Authored
impl RefUnwindSafe for Authored
impl Send for Authored
impl Sync for Authored
impl Unpin for Authored
impl UnsafeUnpin for Authored
impl UnwindSafe for Authored
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