pub struct Output(/* private fields */);Trait Implementations§
Source§impl IOutput for Output
impl IOutput for Output
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, 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>
Source§impl Interface for Output
impl Interface for Output
type APIType = IDXGIOutput
fn new(p: ComPtr<Self::APIType>) -> Self
fn uuidof() -> Guid
fn as_ptr(&self) -> *mut Self::APIType
fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
fn as_unknown(&self) -> *mut IUnknown
fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
fn query_interface<T: Interface>(&self) -> Result<T, HResult>
impl Eq for Output
impl Send for Output
impl StructuralPartialEq for Output
impl Sync for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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