#[repr(C)]pub struct gs_display_mode {
pub width: u32,
pub height: u32,
pub bits: u32,
pub freq: u32,
}
Fields§
§width: u32
§height: u32
§bits: u32
§freq: u32
Trait Implementations§
Source§impl Clone for gs_display_mode
impl Clone for gs_display_mode
Source§fn clone(&self) -> gs_display_mode
fn clone(&self) -> gs_display_mode
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 Debug for gs_display_mode
impl Debug for gs_display_mode
Source§impl Ord for gs_display_mode
impl Ord for gs_display_mode
Source§fn cmp(&self, other: &gs_display_mode) -> Ordering
fn cmp(&self, other: &gs_display_mode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for gs_display_mode
impl PartialEq for gs_display_mode
Source§impl PartialOrd for gs_display_mode
impl PartialOrd for gs_display_mode
impl Copy for gs_display_mode
impl Eq for gs_display_mode
impl StructuralPartialEq for gs_display_mode
Auto Trait Implementations§
impl Freeze for gs_display_mode
impl RefUnwindSafe for gs_display_mode
impl Send for gs_display_mode
impl Sync for gs_display_mode
impl Unpin for gs_display_mode
impl UnwindSafe for gs_display_mode
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