pub struct Element {
pub html_type: String,
pub props: Props,
}
Expand description
The structure which represents a Virtual DOM for the rust_fel
library.
It holds rust_fel::Props , which in turn hold a Vec of Element's
as children
.
This means Element
can represent a tree of DOM Elements.
Fields§
§html_type: String
§props: Props
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 !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