pub struct ClassInfo {
pub name: &'static str,
pub category: &'static str,
pub create: fn() -> Box<dyn Component>,
}Expand description
Informações de uma classe registrada.
Fields§
§name: &'static str§category: &'static strAba da paleta de componentes (“Standard”, “Layouts”, “Data”…).
create: fn() -> Box<dyn Component>Trait Implementations§
Auto Trait Implementations§
impl Forget for ClassInfo
impl Freeze for ClassInfo
impl Move for ClassInfo
impl RefUnwindSafe for ClassInfo
impl Send for ClassInfo
impl Sync for ClassInfo
impl Unpin for ClassInfo
impl UnsafeUnpin for ClassInfo
impl UnwindSafe for ClassInfo
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