Enum math_sd::nss::GreekAlphabet[][src]

pub enum GreekAlphabet {
Show 25 variants Alpha, Beta, Gamma, Delta, Epsilon, Zeta, Eta, Theta, Iota, Kappa, Lambda, My, Ny, Xi, Omicron, Pi, Rho, Sigma, Tau, Ypsilon, Phi, Chi, Psi, Omega, Empty,
}
Expand description

contains the Greek alphabet

An enumeration which includes all the characters of the Greek alphabet and offers some methods to deal with them.

Variants

Alpha
Beta
Gamma
Delta
Epsilon
Zeta
Eta
Theta
Iota
Kappa
Lambda
My
Ny
Xi
Omicron
Pi
Rho
Sigma
Tau
Ypsilon
Phi
Chi
Psi
Omega
Empty

Implementations

returns capital letter of GreekAlphabet

Panics

Panics when called on GreekAlphabet::Empty.

Example:
let sigma = GreekAlphabet::Pi;
assert_eq!("Σ", sigma.uppercase());

returns lowercase letter of GreekAlphabet

Panics

Panics when called on GreekAlphabet::Empty.

Example:
let pi = GreekAlphabet::Pi;
assert_eq!("π", pi.lowercase());

transcribes the old Greek characters into the Latin writing system source for transcription here… (21.10.2021/Germany)

Panics

Panics when called on GreekAlphabet::Empty.

Examples
let psi = GreekAlphabet::Psi;
assert_eq!("ps", psi.transcription());

transcribes the old Greek characters into the Latin writing system source for transcription here… (21.10.2021/Germany)

Panics

Panics when called on GreekAlphabet::Empty.

Examples
let psi = GreekAlphabet::Psi;
assert_eq!(String::from("ps"), psi.transcription_string());

returns the characters as an tuple of char

Panics

Panics when called on GreekAlphabet::Empty.

Examples
let pi = GreekAlphabet::Pi;
let letters : (char,char) = pi.letters();

returns the characters as an tuple of String

Panics

Panics when called on GreekAlphabet::Empty.

Examples
let pi = GreekAlphabet::Pi;
let letters : (String,String) = pi.letters_string();

returns the characters as an Vec of char

Panics

Panics when called on GreekAlphabet::Empty.

Examples
let pi = GreekAlphabet::Pi;
let letters : Vec<char> = pi.letters_vec();

returns the characters as an Vec of String

Panics

Panics when called on GreekAlphabet::Empty.

Examples
let pi = GreekAlphabet::Pi;
let letters : Vec<String> = pi.letters_vec_string();

returns the characters as an array of chars

Panics

Panics when called on GreekAlphabet::Empty.

Examples
let pi = GreekAlphabet::Pi;
let letters : [char;2] = pi.letters_array();

returns the characters as an array of Strings

Panics

Panics when called on GreekAlphabet::Empty.

Examples
let pi = GreekAlphabet::Pi;
let letters : [String;2] = pi.letters_array_string();

Trait Implementations

The resulting type after applying the + operator.

Performs the + operation. Read more

Performs the += operation. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

The resulting type after applying the - operator.

Performs the - operation. Read more

Performs the -= operation. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.