pub enum Element {
Component(ComponentElement),
Native(NativeElement),
Text(TextElement),
Empty,
}Expand description
The fundamental unit of the ROSACE element tree.
Elements are lightweight descriptions of what to render. Component::build()
returns an Element; the framework walks the tree to produce pixels.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Element
impl !UnwindSafe for Element
impl Freeze for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnsafeUnpin 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