pub struct Element(/* private fields */);
Expand description
An HTML element.
Elements can only appear once in the document. If an element is added again, it will be moved.
Trait Implementations§
Source§impl DomElement for Element
impl DomElement for Element
Source§impl From<ElementBuilder> for Element
impl From<ElementBuilder> for Element
Source§fn from(builder: ElementBuilder) -> Self
fn from(builder: ElementBuilder) -> Self
Converts to this type from the input type.
Source§impl<E> From<ReadSignal<E>> for Elementwhere
E: 'static + DomElement,
impl<E> From<ReadSignal<E>> for Elementwhere
E: 'static + DomElement,
Source§fn from(elem: ReadSignal<E>) -> Self
fn from(elem: ReadSignal<E>) -> Self
Converts to this type from the input type.
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