Struct wayland_client::core::output::Output [] [src]

pub struct Output {
    // some fields omitted
}

A physical output

Methods

impl Output

fn get_id(&self) -> OutputId

The unique Id representing this output

fn position(&self) -> (i32, i32)

The location of the top-left corner of this output in the compositor space.

fn dimensions(&self) -> (i32, i32)

The dimensions (width, height) of this output, in milimeters

fn subpixel(&self) -> OutputSubpixel

The subpixel orientation of this output

fn transform(&self) -> OutputTransform

The current transform of this output

fn manufacturer(&self) -> String

The manufacturer of this output

fn model(&self) -> String

The model of this output

fn scale(&self) -> i32

The current scaling factor of this output

fn modes(&self) -> Vec<OutputMode>

The modes of this output

Trait Implementations

impl Send for Output

impl Sync for Output

impl Bind<Registry> for Output

fn interface() -> &'static wl_interface

unsafe fn wrap(ptr: *mut wl_output, registry: Registry) -> Output

impl Drop for Output

fn drop(&mut self)

impl FFI for Output

type Ptr = wl_output

fn ptr(&self) -> *const wl_output

unsafe fn ptr_mut(&self) -> *mut wl_output