Struct windows::Devices::Display::Core::DisplayPresentStatus
#[repr(transparent)]pub struct DisplayPresentStatus(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl DisplayPresentStatus
impl DisplayPresentStatus
pub const Success: Self = _
pub const SourceStatusPreventedPresent: Self = _
pub const ScanoutInvalid: Self = _
pub const SourceInvalid: Self = _
pub const DeviceInvalid: Self = _
pub const UnknownFailure: Self = _
Trait Implementations§
§impl Clone for DisplayPresentStatus
impl Clone for DisplayPresentStatus
§fn clone(&self) -> DisplayPresentStatus
fn clone(&self) -> DisplayPresentStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for DisplayPresentStatus
impl Debug for DisplayPresentStatus
§impl Default for DisplayPresentStatus
impl Default for DisplayPresentStatus
§fn default() -> DisplayPresentStatus
fn default() -> DisplayPresentStatus
Returns the “default value” for a type. Read more
§impl PartialEq for DisplayPresentStatus
impl PartialEq for DisplayPresentStatus
§fn eq(&self, other: &DisplayPresentStatus) -> bool
fn eq(&self, other: &DisplayPresentStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DisplayPresentStatus
impl Eq for DisplayPresentStatus
impl StructuralPartialEq for DisplayPresentStatus
Auto Trait Implementations§
impl RefUnwindSafe for DisplayPresentStatus
impl Send for DisplayPresentStatus
impl Sync for DisplayPresentStatus
impl Unpin for DisplayPresentStatus
impl UnwindSafe for DisplayPresentStatus
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