[][src]Trait dxplr::dxgi::IOutput

pub trait IOutput {
    fn find_closest_matching_mode<T: Interface>(
        &self,
        mode_to_match: &ModeDesc<u32, u32, Rational, Format>,
        concerned_device: Option<&T>
    ) -> Result<ModeDesc<u32, u32, Rational, Format>, HResult>;
fn get_desc(&self) -> Result<OutputDesc, HResult>;
fn get_display_mode_list(
        &self,
        enum_format: Format,
        flags: Option<EnumModes>
    ) -> Result<Vec<ModeDesc<u32, u32, Rational, Format>>, HResult>;
fn get_display_surface_data(
        &self,
        destination: &Surface
    ) -> Result<(), HResult>;
fn get_frame_statistics(&self) -> Result<FrameStatistics, HResult>;
fn get_gamma_control(&self) -> Result<GammaControl, HResult>;
fn get_gamma_control_capabilities(
        &self
    ) -> Result<GammaControlCapabilities, HResult>;
fn release_ownership(&self);
fn set_display_surface(
        &self,
        scanout_surface: &Surface
    ) -> Result<(), HResult>;
fn set_gamma_control(&self, array: &GammaControl) -> Result<(), HResult>;
fn take_ownership<T: Interface>(
        &self,
        device: &T,
        exclusive: bool
    ) -> Result<(), HResult>;
fn wait_for_vblank(&self) -> Result<(), HResult>; }

Required methods

fn find_closest_matching_mode<T: Interface>(
    &self,
    mode_to_match: &ModeDesc<u32, u32, Rational, Format>,
    concerned_device: Option<&T>
) -> Result<ModeDesc<u32, u32, Rational, Format>, HResult>

fn get_desc(&self) -> Result<OutputDesc, HResult>

fn get_display_mode_list(
    &self,
    enum_format: Format,
    flags: Option<EnumModes>
) -> Result<Vec<ModeDesc<u32, u32, Rational, Format>>, HResult>

fn get_display_surface_data(&self, destination: &Surface) -> Result<(), HResult>

fn get_frame_statistics(&self) -> Result<FrameStatistics, HResult>

fn get_gamma_control(&self) -> Result<GammaControl, HResult>

fn get_gamma_control_capabilities(
    &self
) -> Result<GammaControlCapabilities, HResult>

fn release_ownership(&self)

fn set_display_surface(&self, scanout_surface: &Surface) -> Result<(), HResult>

fn set_gamma_control(&self, array: &GammaControl) -> Result<(), HResult>

fn take_ownership<T: Interface>(
    &self,
    device: &T,
    exclusive: bool
) -> Result<(), HResult>

fn wait_for_vblank(&self) -> Result<(), HResult>

Loading content...

Implementors

impl IOutput for Output[src]

impl IOutput for Output1[src]

impl IOutput for Output2[src]

impl IOutput for Output3[src]

impl IOutput for Output4[src]

impl IOutput for Output5[src]

impl IOutput for Output6[src]

Loading content...