[][src]Trait amethyst_window::MonitorsAccess

pub trait MonitorsAccess {
    fn iter(&self) -> AvailableMonitorsIter;
fn primary(&self) -> MonitorId; }

A struct that can resolve monitors. Usually either a Window or an EventsLoop.

Required methods

fn iter(&self) -> AvailableMonitorsIter

Returns an iterator over the available monitors

fn primary(&self) -> MonitorId

Returns the MonitorId of the primary display

Loading content...

Implementations on Foreign Types

impl MonitorsAccess for EventsLoop[src]

Loading content...

Implementors

impl MonitorsAccess for Window[src]

Loading content...