[−][src]Struct dxplr::dxgi::Output2
Implementations
impl Output2
[src]
impl Output2
[src]
pub fn as_output1(&self) -> Output1
[src]
Trait Implementations
impl Clone for Output2
[src]
impl Debug for Output2
[src]
impl Eq for Output2
[src]
impl IOutput for Output2
[src]
pub 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>
[src]
&self,
mode_to_match: &ModeDesc<u32, u32, Rational, Format>,
concerned_device: Option<&T>
) -> Result<ModeDesc<u32, u32, Rational, Format>, HResult>
pub fn get_desc(&self) -> Result<OutputDesc, HResult>
[src]
pub fn get_display_mode_list(
&self,
format: Format,
flags: Option<EnumModes>
) -> Result<Vec<ModeDesc<u32, u32, Rational, Format>>, HResult>
[src]
&self,
format: Format,
flags: Option<EnumModes>
) -> Result<Vec<ModeDesc<u32, u32, Rational, Format>>, HResult>
pub fn get_display_surface_data(
&self,
destination: &Surface
) -> Result<(), HResult>
[src]
&self,
destination: &Surface
) -> Result<(), HResult>
pub fn get_frame_statistics(&self) -> Result<FrameStatistics, HResult>
[src]
pub fn get_gamma_control(&self) -> Result<GammaControl, HResult>
[src]
pub fn get_gamma_control_capabilities(
&self
) -> Result<GammaControlCapabilities, HResult>
[src]
&self
) -> Result<GammaControlCapabilities, HResult>
pub fn release_ownership(&self)
[src]
pub fn set_display_surface(
&self,
scanout_surface: &Surface
) -> Result<(), HResult>
[src]
&self,
scanout_surface: &Surface
) -> Result<(), HResult>
pub fn set_gamma_control(&self, array: &GammaControl) -> Result<(), HResult>
[src]
pub fn take_ownership<T: Interface>(
&self,
device: &T,
exclusive: bool
) -> Result<(), HResult>
[src]
&self,
device: &T,
exclusive: bool
) -> Result<(), HResult>
pub fn wait_for_vblank(&self) -> Result<(), HResult>
[src]
impl IOutput1 for Output2
[src]
pub fn duplicate_output<T: Interface>(
&self,
device: &T
) -> Result<OutputDuplication, HResult>
[src]
&self,
device: &T
) -> Result<OutputDuplication, HResult>
pub fn find_closest_matching_mode1<T: Interface>(
&self,
mode_to_match: &ModeDesc1,
concerned_device: Option<&T>
) -> Result<ModeDesc1, HResult>
[src]
&self,
mode_to_match: &ModeDesc1,
concerned_device: Option<&T>
) -> Result<ModeDesc1, HResult>
pub fn get_display_mode_list1(
&self,
enum_format: Format,
flags: Option<EnumModes>
) -> Result<Vec<ModeDesc1>, HResult>
[src]
&self,
enum_format: Format,
flags: Option<EnumModes>
) -> Result<Vec<ModeDesc1>, HResult>
pub fn get_display_surface_data1(
&self,
destination: &Resource
) -> Result<(), HResult>
[src]
&self,
destination: &Resource
) -> Result<(), HResult>
impl IOutput2 for Output2
[src]
pub fn supports_overlays(&self) -> bool
[src]
impl Interface for Output2
[src]
type APIType = IDXGIOutput2
pub fn new(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn uuidof() -> Guid
[src]
pub fn as_ptr(&self) -> *mut Self::APIType
[src]
pub fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
[src]
pub fn as_unknown(&self) -> *mut IUnknown
[src]
pub fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn query_interface<T: Interface>(&self) -> Result<T, HResult>
[src]
impl PartialEq<Output2> for Output2
[src]
impl Send for Output2
[src]
impl StructuralEq for Output2
[src]
impl StructuralPartialEq for Output2
[src]
impl Sync for Output2
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,