Struct winsafe::DXGI_OUTPUT_DESC
source · #[repr(C)]pub struct DXGI_OUTPUT_DESC {
pub DesktopCoordinates: RECT,
pub Rotation: DXGI_MODE_ROTATION,
pub Monitor: HMONITOR,
/* private fields */
}
Available on crate feature
dxgi
only.Expand description
DXGI_OUTPUT_DESC
struct.
Fields§
§DesktopCoordinates: RECT
§Rotation: DXGI_MODE_ROTATION
§Monitor: HMONITOR
Implementations§
source§impl DXGI_OUTPUT_DESC
impl DXGI_OUTPUT_DESC
sourcepub fn DeviceName(&self) -> String
pub fn DeviceName(&self) -> String
Returns the string field.
sourcepub fn set_DeviceName(&mut self, text: &str)
pub fn set_DeviceName(&mut self, text: &str)
Sets the string field.
sourcepub const fn AttachedToDesktop(&self) -> bool
pub const fn AttachedToDesktop(&self) -> bool
Returns the bool field.
sourcepub fn set_AttachedToDesktop(&mut self, val: bool)
pub fn set_AttachedToDesktop(&mut self, val: bool)
Sets the bool field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DXGI_OUTPUT_DESC
impl RefUnwindSafe for DXGI_OUTPUT_DESC
impl Send for DXGI_OUTPUT_DESC
impl !Sync for DXGI_OUTPUT_DESC
impl Unpin for DXGI_OUTPUT_DESC
impl UnwindSafe for DXGI_OUTPUT_DESC
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