[−][src]Enum kagura::prelude::Html
viritual html element
Variants
Fields of ComponentBuilder
TextNode(String)
Fields of ElementNode
Implementations
impl Html
[src]
pub fn component<C: 'static, P: 'static, M: 'static, S: 'static>(
props: P,
sub_map: Subscription<S>,
children: Vec<Html>
) -> Html where
C: Component<Props = P, Msg = M, Sub = S> + Constructor<Props = P>,
[src]
props: P,
sub_map: Subscription<S>,
children: Vec<Html>
) -> Html where
C: Component<Props = P, Msg = M, Sub = S> + Constructor<Props = P>,
pub fn fragment(children: Vec<Html>) -> Self
[src]
pub fn text(text: impl Into<String>) -> Self
[src]
Creates Html from a non-validated text
pub fn node(
tag_name: impl Into<String>,
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
tag_name: impl Into<String>,
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
Creates Html from element
pub fn none() -> Self
[src]
Creates Html which means there is no node
pub fn a(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn abbr(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn address(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn area(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn article(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn aside(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn audio(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn b(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn bdi(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn bdo(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn blockquote(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn button(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn br(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn cite(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn caption(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn canvas(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn code(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn col(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn colgroup(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn datalist(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn details(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn dd(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn dfn(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn div(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn data(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn del(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn dl(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn dt(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn em(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn embed(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn fieldset(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn figcaption(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn figure(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn footer(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn form(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn h1(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn h2(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn h3(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn h4(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn h5(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn h6(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn header(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn hr(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn i(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn iframe(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn img(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn input(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn ins(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn kbd(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn label(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn legend(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn li(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn main(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn mark(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn map(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn menu(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn menuitem(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn meter(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn nav(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn object(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn ol(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn optgroup(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn option(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn output(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn p(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn param(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn picture(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn pre(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn progress(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn q(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn rb(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn rp(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn rt(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn rtc(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn rubu(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn s(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn samp(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn section(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn select(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn small(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn source(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn span(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn strong(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn sub(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn summary(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn sup(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn table(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn tbody(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn td(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn textarea(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn tfoot(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn th(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn thead(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn time(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn tr(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn track(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn u(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn ul(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn var(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
pub fn video(
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
[src]
attributes: Attributes,
events: Events,
children: Vec<Html>
) -> Self
pub fn wbr(attributes: Attributes, events: Events, children: Vec<Html>) -> Self
[src]
Trait Implementations
impl Clone for Html
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Html
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Html
impl !Send for Html
impl !Sync for Html
impl Unpin for Html
impl !UnwindSafe for Html
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,