pub struct Row { /* private fields */ }Expand description
The mrow element is used to group together any number of sub-expressions, usually consisting
of one or more mo elements acting as “operators” on one or more other expressions that are
their “operands”.
Implementations§
Source§impl Row
impl Row
Sourcepub fn add_element(&mut self, el: impl Into<Element>)
pub fn add_element(&mut self, el: impl Into<Element>)
Add a single element.
Sourcepub fn add_elements(&mut self, el: impl IntoElements)
pub fn add_elements(&mut self, el: impl IntoElements)
Add multiple elements.
Sourcepub fn with_attr<I, A>(self, attr: I) -> Self
pub fn with_attr<I, A>(self, attr: I) -> Self
Create a new instance of Row with additional attributes.
Sourcepub fn attributes(&self) -> &[Attribute]
pub fn attributes(&self) -> &[Attribute]
Get a reference to all attributes of the Row element.
Trait Implementations§
impl Eq for Row
Source§impl IntoElements for Row
impl IntoElements for Row
Source§fn into_elements(self) -> Elements
fn into_elements(self) -> Elements
Converts the type into elements.
Source§impl Ord for Row
impl Ord for Row
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Row
impl PartialOrd for Row
impl StructuralPartialEq for Row
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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