Struct leptos_dom::Element
source · pub struct Element {
pub view_marker: Option<String>,
/* private fields */
}
Expand description
HTML element.
Fields§
§view_marker: Option<String>
Optional marker for the view macro source, in debug mode.
Implementations§
source§impl Element
impl Element
sourcepub fn into_html_element(self, cx: Scope) -> HtmlElement<AnyElement>
pub fn into_html_element(self, cx: Scope) -> HtmlElement<AnyElement>
Converts this leptos Element
into HtmlElement<AnyElement>
.
Trait Implementations§
source§impl PartialEq<Element> for Element
impl PartialEq<Element> for Element
impl Eq for Element
impl StructuralEq for Element
impl StructuralPartialEq for Element
Auto Trait Implementations§
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.