Struct winsafe::DXGI_RATIONAL
source · #[repr(C)]pub struct DXGI_RATIONAL {
pub Numerator: u32,
pub Denominator: u32,
}
Available on crate feature
dxgi
only.Expand description
DXGI_RATIONAL
struct.
Fields§
§Numerator: u32
§Denominator: u32
Trait Implementations§
source§impl Clone for DXGI_RATIONAL
impl Clone for DXGI_RATIONAL
source§fn clone(&self) -> DXGI_RATIONAL
fn clone(&self) -> DXGI_RATIONAL
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 moresource§impl Default for DXGI_RATIONAL
impl Default for DXGI_RATIONAL
source§fn default() -> DXGI_RATIONAL
fn default() -> DXGI_RATIONAL
Returns the “default value” for a type. Read more
source§impl PartialEq for DXGI_RATIONAL
impl PartialEq for DXGI_RATIONAL
source§fn eq(&self, other: &DXGI_RATIONAL) -> bool
fn eq(&self, other: &DXGI_RATIONAL) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DXGI_RATIONAL
impl Eq for DXGI_RATIONAL
impl StructuralPartialEq for DXGI_RATIONAL
Auto Trait Implementations§
impl Freeze for DXGI_RATIONAL
impl RefUnwindSafe for DXGI_RATIONAL
impl Send for DXGI_RATIONAL
impl Sync for DXGI_RATIONAL
impl Unpin for DXGI_RATIONAL
impl UnwindSafe for DXGI_RATIONAL
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