Struct core_graphics::display::CGDisplay [] [src]

pub struct CGDisplay {
    pub id: CGDirectDisplayID,
}

Fields

Methods

impl CGDisplay
[src]

[src]

[src]

Returns the the main display.

[src]

Returns the bounds of a display in the global display coordinate space.

[src]

Returns information about a display's current configuration.

[src]

Returns an image containing the contents of the specified display.

[src]

Returns a composite image based on a dynamically generated list of windows.

[src]

Returns a composite image of the specified windows.

[src]

Generates and returns information about the selected windows in the current user session.

[src]

Returns a Boolean value indicating whether a display is active.

[src]

Returns a boolean indicating whether a display is always in a mirroring set.

[src]

Returns a boolean indicating whether a display is sleeping (and is therefore not drawable.)

[src]

Returns a boolean indicating whether a display is built-in, such as the internal display in portable systems.

[src]

Returns a boolean indicating whether a display is in a hardware mirroring set.

[src]

Returns a boolean indicating whether a display is in a mirroring set.

[src]

Returns a boolean indicating whether a display is the main display.

[src]

Returns a boolean indicating whether a display is connected or online.

[src]

Returns a boolean indicating whether Quartz is using OpenGL-based window acceleration (Quartz Extreme) to render in a display.

[src]

Returns a boolean indicating whether a display is running in a stereo graphics mode.

[src]

For a secondary display in a mirroring set, returns the primary display.

[src]

Returns the primary display in a hardware mirroring set.

[src]

Returns the rotation angle of a display in degrees.

[src]

Returns the width and height of a display in millimeters.

[src]

Returns the serial number of a display monitor.

[src]

Returns the logical unit number of a display.

[src]

Returns the vendor number of the specified display's monitor.

[src]

Returns the model number of a display monitor.

[src]

Returns the display height in pixel units.

[src]

Returns the display width in pixel units.

[src]

Provides a list of displays that are active (or drawable).

[src]

Provides count of displays that are active (or drawable).

[src]

Hides the mouse cursor, and increments the hide cursor count.

[src]

Decrements the hide cursor count, and shows the mouse cursor if the count is 0.

[src]

Moves the mouse cursor to a specified point relative to the display origin (the upper-left corner of the display).

[src]

Moves the mouse cursor without generating events.

[src]

Connects or disconnects the mouse and cursor while an application is in the foreground.

Trait Implementations

impl Copy for CGDisplay
[src]

impl Clone for CGDisplay
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CGDisplay
[src]

[src]

Formats the value using the given formatter.