pub struct Semantics { /* private fields */ }
Expand description
The semantics
element is the container element that associates annotations with a MathML
expression. Typically, the semantics
element has as its first child element a MathML
expression to be annotated while subsequent child elements represent text annotations within an
annotation
element, or more complex markup annotations within an annotation-xml
element.
Implementations§
source§impl Semantics
impl Semantics
sourcepub fn builder() -> SemanticsBuilder<Uninit>
pub fn builder() -> SemanticsBuilder<Uninit>
Create a builder for Semantics
element.
sourcepub fn children(&self) -> &[Element]
pub fn children(&self) -> &[Element]
Get a reference to the inner content of the Semantics
element.
sourcepub fn attributes(&self) -> &[Attribute]
pub fn attributes(&self) -> &[Attribute]
Get a reference to all attributes of the Semantics
element.
Trait Implementations§
source§impl IntoElements for Semantics
impl IntoElements for Semantics
source§fn into_elements(self) -> Elements
fn into_elements(self) -> Elements
Converts the type into elements.
source§impl Ord for Semantics
impl Ord for Semantics
source§impl PartialEq for Semantics
impl PartialEq for Semantics
source§impl PartialOrd for Semantics
impl PartialOrd for Semantics
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Semantics
impl StructuralEq for Semantics
impl StructuralPartialEq for Semantics
Auto Trait Implementations§
impl RefUnwindSafe for Semantics
impl Send for Semantics
impl Sync for Semantics
impl Unpin for Semantics
impl UnwindSafe for Semantics
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