pub struct ColBuilder(/* private fields */);
Implementations§
Source§impl ColBuilder
impl ColBuilder
pub fn id(self, value: impl AttributeValue<String>) -> Self
pub fn class(self, value: impl AttributeValue<String>) -> Self
Sourcepub fn span(self, value: impl AttributeValue<String>) -> Self
pub fn span(self, value: impl AttributeValue<String>) -> Self
This attribute contains a positive integer indicating the number of consecutive columns
the <col>
element spans. If not present, its default value is 1.
Source§impl ColBuilder
impl ColBuilder
pub fn on_blur( self, f: impl 'static + FnMut(FocusEvent, HtmlTableColElement), ) -> Self
pub fn on_click( self, f: impl 'static + FnMut(MouseEvent, HtmlTableColElement), ) -> Self
pub fn on_change( self, f: impl 'static + FnMut(Event, HtmlTableColElement), ) -> Self
pub fn on_dblclick( self, f: impl 'static + FnMut(MouseEvent, HtmlTableColElement), ) -> Self
pub fn on_focusout( self, f: impl 'static + FnMut(FocusEvent, HtmlTableColElement), ) -> Self
pub fn on_input( self, f: impl 'static + FnMut(InputEvent, HtmlTableColElement), ) -> Self
pub fn on_keydown( self, f: impl 'static + FnMut(KeyboardEvent, HtmlTableColElement), ) -> Self
pub fn on_keyup( self, f: impl 'static + FnMut(KeyboardEvent, HtmlTableColElement), ) -> Self
pub fn effect(self, f: impl Effect<HtmlTableColElement>) -> Self
Trait Implementations§
Source§impl Builder for ColBuilder
impl Builder for ColBuilder
Source§impl DomElement for ColBuilder
impl DomElement for ColBuilder
type Target = HtmlTableColElement
fn dom_element(&self) -> Self::Target
Source§impl From<ColBuilder> for Element
impl From<ColBuilder> for Element
Source§fn from(builder: ColBuilder) -> Self
fn from(builder: ColBuilder) -> Self
Converts to this type from the input type.
Source§impl From<ColBuilder> for ElementBuilder
impl From<ColBuilder> for ElementBuilder
Source§fn from(builder: ColBuilder) -> Self
fn from(builder: ColBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ColBuilder
impl !RefUnwindSafe for ColBuilder
impl !Send for ColBuilder
impl !Sync for ColBuilder
impl Unpin for ColBuilder
impl !UnwindSafe for ColBuilder
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