[][src]Struct gw2api::v1::map_floor::Sector

pub struct Sector { /* fields omitted */ }

Struct containing information about a sector (area) of a map.

Implementations

impl Sector[src]

pub fn id(&self) -> u32[src]

Returns the id of the area.

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

Returns the name of the area.

pub fn level(&self) -> u32[src]

Returns the level of the area.

pub fn coord(&self) -> &Vec<f32>[src]

Returns the coordinates of the area.

pub fn bounds(&self) -> &Vec<Vec<f32>>[src]

Returns the boundaries of the task's area.

Trait Implementations

impl Debug for Sector[src]

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

impl PartialEq<Sector> for Sector[src]

impl StructuralPartialEq for Sector[src]

Auto Trait Implementations

impl RefUnwindSafe for Sector

impl Send for Sector

impl Sync for Sector

impl Unpin for Sector

impl UnwindSafe for Sector

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.