pub struct TableEntry { /* private fields */ }
Implementations§
Source§impl TableEntry
impl TableEntry
pub fn new( common: CommonAttributes, extra: TableEntry, children: Vec<BodyElement>, ) -> TableEntry
Trait Implementations§
Source§impl Clone for TableEntry
impl Clone for TableEntry
Source§fn clone(&self) -> TableEntry
fn clone(&self) -> TableEntry
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TableEntry
impl Debug for TableEntry
Source§impl Default for TableEntry
impl Default for TableEntry
Source§fn default() -> TableEntry
fn default() -> TableEntry
Returns the “default value” for a type. Read more
Source§impl Element for TableEntry
impl Element for TableEntry
fn ids_mut(&mut self) -> &mut Vec<ID>
Source§fn names(&self) -> &Vec<NameToken>
fn names(&self) -> &Vec<NameToken>
a list containing the names of an element, typically originating from the element’s title or content.
Each name in names must be unique; if there are name conflicts (two or more elements want to the same name),
the contents will be transferred to the dupnames attribute on the duplicate elements.
An element may have at most one of the names or dupnames attributes, but not both.
fn names_mut(&mut self) -> &mut Vec<NameToken>
fn source(&self) -> &Option<PathBuf>
fn source_mut(&mut self) -> &mut Option<PathBuf>
fn classes(&self) -> &Vec<String>
fn classes_mut(&mut self) -> &mut Vec<String>
Source§impl ExtraAttributes<TableEntry> for TableEntry
impl ExtraAttributes<TableEntry> for TableEntry
fn with_extra(extra: TableEntry) -> TableEntry
fn extra(&self) -> &TableEntry
fn extra_mut(&mut self) -> &mut TableEntry
Source§impl HasChildren<BodyElement> for TableEntry
impl HasChildren<BodyElement> for TableEntry
fn with_children(children: Vec<BodyElement>) -> TableEntry
fn children(&self) -> &Vec<BodyElement>
fn children_mut(&mut self) -> &mut Vec<BodyElement>
fn append_child<R: Into<C>>(&mut self, child: R)
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
Source§impl HasChildren<TableEntry> for TableRow
impl HasChildren<TableEntry> for TableRow
fn with_children(children: Vec<TableEntry>) -> TableRow
fn children(&self) -> &Vec<TableEntry>
fn children_mut(&mut self) -> &mut Vec<TableEntry>
fn append_child<R: Into<C>>(&mut self, child: R)
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
Source§impl PartialEq for TableEntry
impl PartialEq for TableEntry
Source§impl Serialize for TableEntry
impl Serialize for TableEntry
impl StructuralPartialEq for TableEntry
Auto Trait Implementations§
impl Freeze for TableEntry
impl RefUnwindSafe for TableEntry
impl Send for TableEntry
impl Sync for TableEntry
impl Unpin for TableEntry
impl UnwindSafe for TableEntry
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