Struct mathml_core::MathPhantom
source · pub struct MathPhantom { /* private fields */ }
Expand description
The <mphantom>
element is rendered invisibly, but dimensions (such as height, width, and baseline position) are still kept.
Implementations§
Trait Implementations§
source§impl Clone for MathPhantom
impl Clone for MathPhantom
source§fn clone(&self) -> MathPhantom
fn clone(&self) -> MathPhantom
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 MathPhantom
impl Debug for MathPhantom
source§impl Display for MathPhantom
impl Display for MathPhantom
source§impl From<MathPhantom> for MathML
impl From<MathPhantom> for MathML
source§fn from(value: MathPhantom) -> Self
fn from(value: MathPhantom) -> Self
Converts to this type from the input type.
source§impl PartialEq<MathPhantom> for MathPhantom
impl PartialEq<MathPhantom> for MathPhantom
source§fn eq(&self, other: &MathPhantom) -> bool
fn eq(&self, other: &MathPhantom) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MathPhantom
Auto Trait Implementations§
impl RefUnwindSafe for MathPhantom
impl Send for MathPhantom
impl Sync for MathPhantom
impl Unpin for MathPhantom
impl UnwindSafe for MathPhantom
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