pub struct Ident { /* private fields */ }
Expand description
The mi
(Ident
) element represents a symbolic name or arbitrary text that should be rendered
as an identifier. Identifiers can include variables, function names, and symbolic constants.
Implementations§
source§impl Ident
impl Ident
sourcepub fn set_natural() -> Self
pub fn set_natural() -> Self
Create a ‘ℕ’ identifier.
sourcepub fn set_integer() -> Self
pub fn set_integer() -> Self
Create a ‘ℤ’ identifier.
sourcepub fn set_rational() -> Self
pub fn set_rational() -> Self
Create a ‘ℚ’ identifier.
sourcepub fn set_irrational() -> Self
pub fn set_irrational() -> Self
Create a ‘ℝ’ identifier.
sourcepub fn set_complex() -> Self
pub fn set_complex() -> Self
Create a ‘ℂ’ identifier.
sourcepub fn varepsilon() -> Self
pub fn varepsilon() -> Self
Create a ‘𝜖’ identifier.
sourcepub fn big_lambda() -> Self
pub fn big_lambda() -> Self
Create a ‘Λ’ identifier.
Trait Implementations§
source§impl IntoElements for Ident
impl IntoElements for Ident
source§fn into_elements(self) -> Elements
fn into_elements(self) -> Elements
Converts the type into elements.
source§impl Ord for Ident
impl Ord for Ident
source§impl PartialEq for Ident
impl PartialEq for Ident
source§impl PartialOrd for Ident
impl PartialOrd for Ident
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 Ident
impl StructuralEq for Ident
impl StructuralPartialEq for Ident
Auto Trait Implementations§
impl RefUnwindSafe for Ident
impl Send for Ident
impl Sync for Ident
impl Unpin for Ident
impl UnwindSafe for Ident
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