#[repr(transparent)]pub struct Output1(pub IDXGIOutput1);Expand description
An Output1 interface represents an adapter output (such as a monitor).
For more information: IDXGIOutput interface
Tuple Fields§
§0: IDXGIOutput1Implementations§
Source§impl Output1
impl Output1
Sourcepub fn get_desc(&self) -> Result<OutputDesc, DxError>
pub fn get_desc(&self) -> Result<OutputDesc, DxError>
Get a description of the output.
For more information: IDXGIOutput::GetDesc method
Sourcepub fn get_display_mode_list1(
&self,
format: Format,
flags: EnumModeFlags,
) -> Result<Vec<ModeDesc1>, DxError>
pub fn get_display_mode_list1( &self, format: Format, flags: EnumModeFlags, ) -> Result<Vec<ModeDesc1>, DxError>
Gets the display modes that match the requested format and other input options.
For more information: IDXGIOutput1::GetDisplayModeList1 method
Trait Implementations§
impl Eq for Output1
impl StructuralPartialEq for Output1
Auto Trait Implementations§
impl Freeze for Output1
impl RefUnwindSafe for Output1
impl Send for Output1
impl Sync for Output1
impl Unpin for Output1
impl UnwindSafe for Output1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more