#[repr(C)]pub struct D3DDDI_RATIONAL {
pub Numerator: UINT,
pub Denominator: UINT,
}
Fields§
§Numerator: UINT
§Denominator: UINT
Trait Implementations§
Source§impl Clone for D3DDDI_RATIONAL
impl Clone for D3DDDI_RATIONAL
Source§fn clone(&self) -> D3DDDI_RATIONAL
fn clone(&self) -> D3DDDI_RATIONAL
Returns a duplicate 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 D3DDDI_RATIONAL
impl Default for D3DDDI_RATIONAL
Source§fn default() -> D3DDDI_RATIONAL
fn default() -> D3DDDI_RATIONAL
Returns the “default value” for a type. Read more
impl Copy for D3DDDI_RATIONAL
Auto Trait Implementations§
impl Freeze for D3DDDI_RATIONAL
impl RefUnwindSafe for D3DDDI_RATIONAL
impl Send for D3DDDI_RATIONAL
impl Sync for D3DDDI_RATIONAL
impl Unpin for D3DDDI_RATIONAL
impl UnwindSafe for D3DDDI_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