Enum adana_script_core::MathConstants
source · pub enum MathConstants {
Pi,
EulerNumber,
Tau,
}
Variants§
Implementations§
source§impl MathConstants
impl MathConstants
pub const fn get_symbol(&self) -> char
pub const fn get_symbols() -> &'static str
pub const fn _get_variants() -> &'static [&'static MathConstants; 3]
Trait Implementations§
source§impl Debug for MathConstants
impl Debug for MathConstants
Auto Trait Implementations§
impl Freeze for MathConstants
impl RefUnwindSafe for MathConstants
impl Send for MathConstants
impl Sync for MathConstants
impl Unpin for MathConstants
impl UnwindSafe for MathConstants
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