Struct ezomyte::League
[−]
[src]
pub struct League { /* fields omitted */ }Main league in Path of Exile.
Those are the leagues you can select (or used to be able to select, for historical data) in the character screen.
Methods
impl League[src]
pub fn standard() -> Self[src]
Standard league (permanent softcore non-SSF).
pub fn hardcore() -> Self[src]
Hardcore league (permanent non-SSF).
pub fn temporary() -> Self[src]
Temporary league (softcore non-SSF).
pub fn temporary_hardcore() -> Self[src]
Temporary hardcore league (non-SSF).
pub fn ssf() -> Self[src]
SSF league (permanent softcore).
pub fn hardcore_ssf() -> Self[src]
Hardcore SSF league (permanent).
pub fn temporary_ssf() -> Self[src]
Temporary SSF league (softcore).
pub fn temporary_hardcore_ssf() -> Self[src]
Temporary hardcore SSF league.
impl League[src]
pub fn softcore() -> Self[src]
Alias for standard.
pub fn sc() -> Self[src]
Alias for standard.
pub fn hc() -> Self[src]
Alias for hardcore.
pub fn temp() -> Self[src]
Alias for temporary.
pub fn temp_sc() -> Self[src]
Alias for temporary.
pub fn temp_hc() -> Self[src]
Alias for temporary_hardcore.
pub fn hc_ssf() -> Self[src]
Alias for hardcore_ssf.
pub fn temp_ssf() -> Self[src]
Alias for temporary_ssf.
pub fn temp_hc_ssf() -> Self[src]
Alias for temporary_hardcore_ssf.
impl League[src]
pub fn in_season<S: Into<String>>(self, season: S) -> League[src]
Add season name to a League.
Example: League::hc().in_season("Abyss")
impl League[src]
pub fn season(&self) -> Option<&str>[src]
Name of the league's season, if known.
A season is basically the unique identifying part of all temporary league names. The "Abyss" season, for example, consists of leagues called "Abyss" (softcore non-SSF), "Hardcore Abyss", etc.
Permanent leagues are not part of any season.
pub fn is_temporary(&self) -> bool[src]
Whether this is a temporary league.
pub fn is_hardcore(&self) -> bool[src]
Whether this is a hardcore league.
pub fn is_ssf(&self) -> bool[src]
Whether this is a solo self-found league.
Trait Implementations
impl Clone for League[src]
fn clone(&self) -> League[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Default for League[src]
impl PartialEq for League[src]
fn eq(&self, other: &League) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Debug for League[src]
fn fmt(&self, fmt: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Display for League[src]
fn fmt(&self, fmt: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl FromStr for League[src]
type Err = ParseLeagueError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>[src]
Parses a string s to return a value of this type. Read more
impl<'de> Deserialize<'de> for League[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more