pub struct MathFenced { /* private fields */ }Expand description
Implementations§
Source§impl MathFenced
 
impl MathFenced
Sourcepub fn new<I>(base: I, lhs: char, rhs: char) -> Selfwhere
    I: IntoIterator<Item = MathML>,
 
pub fn new<I>(base: I, lhs: char, rhs: char) -> Selfwhere
    I: IntoIterator<Item = MathML>,
Create a new fenced element with the given base and the given left and right fence characters.
Sourcepub fn parentheses<I>(base: I) -> Selfwhere
    I: IntoIterator<Item = MathML>,
 
pub fn parentheses<I>(base: I) -> Selfwhere
    I: IntoIterator<Item = MathML>,
Create a new fenced element with the given base and the given left and right fence characters.
Sourcepub fn brackets<I>(base: I) -> Selfwhere
    I: IntoIterator<Item = MathML>,
 
pub fn brackets<I>(base: I) -> Selfwhere
    I: IntoIterator<Item = MathML>,
Create a new fenced element with the given base and the given left and right fence characters.
Sourcepub fn curly<I>(base: I) -> Selfwhere
    I: IntoIterator<Item = MathML>,
 
pub fn curly<I>(base: I) -> Selfwhere
    I: IntoIterator<Item = MathML>,
Create a new fenced element with the given base and the given left and right fence characters.
Sourcepub fn with_separators<S>(self, separators: S) -> Selfwhere
    S: ToString,
 
pub fn with_separators<S>(self, separators: S) -> Selfwhere
    S: ToString,
A string of characters to be inserted between consecutive pairs of elements in the list.
Trait Implementations§
Source§impl Clone for MathFenced
 
impl Clone for MathFenced
Source§fn clone(&self) -> MathFenced
 
fn clone(&self) -> MathFenced
Returns a duplicate 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 MathFenced
 
impl Debug for MathFenced
Source§impl Display for MathFenced
 
impl Display for MathFenced
Source§impl From<MathFenced> for MathML
 
impl From<MathFenced> for MathML
Source§fn from(value: MathFenced) -> Self
 
fn from(value: MathFenced) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MathFenced
 
impl PartialEq for MathFenced
impl StructuralPartialEq for MathFenced
Auto Trait Implementations§
impl Freeze for MathFenced
impl RefUnwindSafe for MathFenced
impl Send for MathFenced
impl Sync for MathFenced
impl Unpin for MathFenced
impl UnwindSafe for MathFenced
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