Struct alemat::elements::grouping::Prescripts
source · pub struct Prescripts { /* private fields */ }
Expand description
Presubscripts and tensor notations are represented by the mmultiscripts
element. The
mprescripts
element is used as a separator between the postscripts
and prescripts
.
Implementations§
source§impl Prescripts
impl Prescripts
sourcepub fn with_attr<I, A>(attr: I) -> Self
pub fn with_attr<I, A>(attr: I) -> Self
Create a Prescripts
element with the given attributes.
sourcepub fn attributes(&self) -> &[Attribute]
pub fn attributes(&self) -> &[Attribute]
Get a reference to all attributes of the Prescripts
element.
Trait Implementations§
source§impl Clone for Prescripts
impl Clone for Prescripts
source§fn clone(&self) -> Prescripts
fn clone(&self) -> Prescripts
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 Prescripts
impl Debug for Prescripts
source§impl Default for Prescripts
impl Default for Prescripts
source§fn default() -> Prescripts
fn default() -> Prescripts
Returns the “default value” for a type. Read more
source§impl From<Prescripts> for Element
impl From<Prescripts> for Element
source§fn from(value: Prescripts) -> Self
fn from(value: Prescripts) -> Self
Converts to this type from the input type.
source§impl IntoElements for Prescripts
impl IntoElements for Prescripts
source§fn into_elements(self) -> Elements
fn into_elements(self) -> Elements
Converts the type into elements.
source§impl Ord for Prescripts
impl Ord for Prescripts
source§fn cmp(&self, other: &Prescripts) -> Ordering
fn cmp(&self, other: &Prescripts) -> Ordering
1.21.0 · 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 PartialEq for Prescripts
impl PartialEq for Prescripts
source§fn eq(&self, other: &Prescripts) -> bool
fn eq(&self, other: &Prescripts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Prescripts
impl PartialOrd for Prescripts
source§fn partial_cmp(&self, other: &Prescripts) -> Option<Ordering>
fn partial_cmp(&self, other: &Prescripts) -> Option<Ordering>
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 Prescripts
impl StructuralEq for Prescripts
impl StructuralPartialEq for Prescripts
Auto Trait Implementations§
impl RefUnwindSafe for Prescripts
impl Send for Prescripts
impl Sync for Prescripts
impl Unpin for Prescripts
impl UnwindSafe for Prescripts
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