pub struct Element {
pub class: &'static str,
pub base: ElementBase,
pub kind: ElementKind,
}Expand description
An element description: its class, the fields every element has, and its class’s fields.
Fields§
§class: &'static strThe element’s class name, for example ButtonDescription.
base: ElementBaseThe fields every element has.
kind: ElementKindThe class and its own fields.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnsafeUnpin for Element
impl UnwindSafe for Element
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