Struct axohtml::elements::table

source ·
pub struct table<T>where
    T: OutputType + Send,{
    pub attrs: Attrs_table,
    pub data_attributes: Vec<(&'static str, String)>,
    pub aria_attributes: Vec<(&'static str, String)>,
    pub events: T::Events,
    pub children: Vec<Box<dyn TableContent<T>>>,
}

Fields§

§attrs: Attrs_table§data_attributes: Vec<(&'static str, String)>§aria_attributes: Vec<(&'static str, String)>§events: T::Events§children: Vec<Box<dyn TableContent<T>>>

Implementations§

source§

impl<T> table<T>where T: OutputType + Send,

source

pub fn new() -> Self

Trait Implementations§

source§

impl<T> Display for table<T>where T: OutputType + Send,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<T> Element<T> for table<T>where T: OutputType + Send,

source§

fn name() -> &'static str

Get the name of the element.
source§

fn attribute_names() -> &'static [&'static str]

Get a list of the attribute names for this element. Read more
source§

fn required_children() -> &'static [&'static str]

Get a list of the element names of required children for this element. Read more
source§

fn attributes(&self) -> Vec<(&'static str, String)>

Get a list of the defined attribute pairs for this element. Read more
source§

impl<T> IntoIterator for Box<table<T>>where T: OutputType + Send,

§

type Item = Box<table<T>, Global>

The type of the elements being iterated over.
§

type IntoIter = IntoIter<Box<table<T>, Global>, Global>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl<T> IntoIterator for table<T>where T: OutputType + Send,

§

type Item = table<T>

The type of the elements being iterated over.
§

type IntoIter = IntoIter<table<T>, Global>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl<T> Node<T> for table<T>where T: OutputType + Send,

source§

fn vnode(&mut self) -> VNode<'_, T>

Render the node into a VNode tree.
source§

impl<T> FlowContent<T> for table<T>where T: OutputType + Send,

Auto Trait Implementations§

§

impl<T> !RefUnwindSafe for table<T>

§

impl<T> Send for table<T>

§

impl<T> !Sync for table<T>

§

impl<T> Unpin for table<T>where <T as OutputType>::Events: Unpin,

§

impl<T> !UnwindSafe for table<T>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.