Struct mathml_core::MathFenced
source · pub struct MathFenced { /* private fields */ }
Expand description
Implementations§
source§impl MathFenced
impl MathFenced
pub fn new<I>(base: I, lhs: char, rhs: char) -> Selfwhere I: IntoIterator<Item = MathML>,
pub fn parentheses<I>(base: I) -> Selfwhere I: IntoIterator<Item = MathML>,
pub fn brackets<I>(base: I) -> Selfwhere I: IntoIterator<Item = MathML>,
pub fn curly<I>(base: I) -> Selfwhere I: IntoIterator<Item = MathML>,
pub fn with_separators<S>(self, separators: S) -> Selfwhere S: ToString,
Trait Implementations§
source§impl Clone for MathFenced
impl Clone for MathFenced
source§fn clone(&self) -> MathFenced
fn clone(&self) -> MathFenced
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 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<MathFenced> for MathFenced
impl PartialEq<MathFenced> for MathFenced
source§fn eq(&self, other: &MathFenced) -> bool
fn eq(&self, other: &MathFenced) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MathFenced
Auto Trait Implementations§
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