Struct silkenweb::elements::SampBuilder [−][src]
pub struct SampBuilder(_);
Implementations
impl SampBuilder
[src]
impl SampBuilder
[src]pub fn id(self, value: impl AttributeValue<String>) -> SampBuilder
[src]
pub fn class(self, value: impl AttributeValue<String>) -> SampBuilder
[src]
impl SampBuilder
[src]
impl SampBuilder
[src]pub fn on_blur(
self,
f: impl FnMut(FocusEvent, HtmlElement) + 'static
) -> SampBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlElement) + 'static
) -> SampBuilder
pub fn on_click(
self,
f: impl FnMut(MouseEvent, HtmlElement) + 'static
) -> SampBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlElement) + 'static
) -> SampBuilder
pub fn on_change(
self,
f: impl FnMut(Event, HtmlElement) + 'static
) -> SampBuilder
[src]
self,
f: impl FnMut(Event, HtmlElement) + 'static
) -> SampBuilder
pub fn on_dblclick(
self,
f: impl FnMut(MouseEvent, HtmlElement) + 'static
) -> SampBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlElement) + 'static
) -> SampBuilder
pub fn on_focusout(
self,
f: impl FnMut(FocusEvent, HtmlElement) + 'static
) -> SampBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlElement) + 'static
) -> SampBuilder
pub fn on_input(
self,
f: impl FnMut(InputEvent, HtmlElement) + 'static
) -> SampBuilder
[src]
self,
f: impl FnMut(InputEvent, HtmlElement) + 'static
) -> SampBuilder
pub fn on_keydown(
self,
f: impl FnMut(KeyboardEvent, HtmlElement) + 'static
) -> SampBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlElement) + 'static
) -> SampBuilder
pub fn on_keyup(
self,
f: impl FnMut(KeyboardEvent, HtmlElement) + 'static
) -> SampBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlElement) + 'static
) -> SampBuilder
pub fn effect(self, f: impl Effect<HtmlElement>) -> SampBuilder
[src]
impl SampBuilder
[src]
impl SampBuilder
[src]pub fn text(self, child: impl Text) -> SampBuilder
[src]
pub fn child<Child>(self, c: Child) -> SampBuilder where
Child: Into<Element>,
[src]
Child: Into<Element>,
Trait Implementations
impl Builder for SampBuilder
[src]
impl Builder for SampBuilder
[src]type Target = Samp
pub fn build(self) -> <SampBuilder as Builder>::Target
[src]
pub fn into_element(self) -> Element
[src]
impl DomElement for SampBuilder
[src]
impl DomElement for SampBuilder
[src]type Target = HtmlElement
pub fn dom_element(&self) -> <SampBuilder as DomElement>::Target
[src]
impl From<SampBuilder> for Element
[src]
impl From<SampBuilder> for Element
[src]pub fn from(builder: SampBuilder) -> Element
[src]
impl From<SampBuilder> for ElementBuilder
[src]
impl From<SampBuilder> for ElementBuilder
[src]pub fn from(builder: SampBuilder) -> ElementBuilder
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SampBuilder
impl !RefUnwindSafe for SampBuilder
impl !Send for SampBuilder
impl !Send for SampBuilder
impl !Sync for SampBuilder
impl !Sync for SampBuilder
impl Unpin for SampBuilder
impl Unpin for SampBuilder
impl !UnwindSafe for SampBuilder
impl !UnwindSafe for SampBuilder