[][src]Struct gw2api::v1::continents::Continent

pub struct Continent { /* fields omitted */ }

Contains information about a continent, including the localised name, dimensions, minimum and maximal zoom levels, and a list of floors. Note: there are only two continents, Tyria and Mists.

Implementations

impl Continent[src]

pub fn name(&self) -> &str[src]

Returns the name of the continent.

pub fn dimensions(&self) -> &Vec<u32>[src]

Returns the dimensions of the continent.

pub fn min_zoom(&self) -> u8[src]

Returns the minimum zoom level.

pub fn max_zoom(&self) -> u8[src]

Returns the maximum zoom level.

pub fn metal(&self) -> &Vec<i8>[src]

Returns a list of the floors of the continent.

Trait Implementations

impl Debug for Continent[src]

impl<'de> Deserialize<'de> for Continent[src]

impl PartialEq<Continent> for Continent[src]

impl StructuralPartialEq for Continent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.