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