pub struct Element<MSG> {
pub tag: &'static str,
pub namespace: Option<&'static str>,
pub props: Vec<Attribute<MSG>>,
pub children: Vec<Node<MSG>>,
}Fields§
§tag: &'static str§namespace: Option<&'static str>§props: Vec<Attribute<MSG>>§children: Vec<Node<MSG>>Trait Implementations§
Source§impl<MSG> ElementMapMsg<MSG> for Element<MSG>where
MSG: 'static,
impl<MSG> ElementMapMsg<MSG> for Element<MSG>where
MSG: 'static,
fn map_callback<MSG2>(self, cb: Listener<MSG, MSG2>) -> Element<MSG2>where
MSG2: 'static,
impl<MSG> StructuralPartialEq for Element<MSG>
Auto Trait Implementations§
impl<MSG> Freeze for Element<MSG>
impl<MSG> !RefUnwindSafe for Element<MSG>
impl<MSG> !Send for Element<MSG>
impl<MSG> !Sync for Element<MSG>
impl<MSG> Unpin for Element<MSG>
impl<MSG> !UnwindSafe for Element<MSG>
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