pub struct H2Builder(/* private fields */);Implementations§
Source§impl H2Builder
impl H2Builder
pub fn id(self, value: impl AttributeValue<String>) -> Self
pub fn class(self, value: impl AttributeValue<String>) -> Self
Source§impl H2Builder
impl H2Builder
pub fn on_blur( self, f: impl 'static + FnMut(FocusEvent, HtmlHeadingElement), ) -> Self
pub fn on_click( self, f: impl 'static + FnMut(MouseEvent, HtmlHeadingElement), ) -> Self
pub fn on_change( self, f: impl 'static + FnMut(Event, HtmlHeadingElement), ) -> Self
pub fn on_dblclick( self, f: impl 'static + FnMut(MouseEvent, HtmlHeadingElement), ) -> Self
pub fn on_focusout( self, f: impl 'static + FnMut(FocusEvent, HtmlHeadingElement), ) -> Self
pub fn on_input( self, f: impl 'static + FnMut(InputEvent, HtmlHeadingElement), ) -> Self
pub fn on_keydown( self, f: impl 'static + FnMut(KeyboardEvent, HtmlHeadingElement), ) -> Self
pub fn on_keyup( self, f: impl 'static + FnMut(KeyboardEvent, HtmlHeadingElement), ) -> Self
pub fn effect(self, f: impl Effect<HtmlHeadingElement>) -> Self
Trait Implementations§
Source§impl DomElement for H2Builder
impl DomElement for H2Builder
type Target = HtmlHeadingElement
fn dom_element(&self) -> Self::Target
Auto Trait Implementations§
impl Freeze for H2Builder
impl !RefUnwindSafe for H2Builder
impl !Send for H2Builder
impl !Sync for H2Builder
impl Unpin for H2Builder
impl !UnwindSafe for H2Builder
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