#[repr(C)]pub struct gs_init_data {
pub window: gs_window,
pub cx: u32,
pub cy: u32,
pub num_backbuffers: u32,
pub format: gs_color_format,
pub zsformat: gs_zstencil_format,
pub adapter: u32,
}
Fields§
§window: gs_window
§cx: u32
§cy: u32
§num_backbuffers: u32
§format: gs_color_format
§zsformat: gs_zstencil_format
§adapter: u32
Trait Implementations§
Source§impl Clone for gs_init_data
impl Clone for gs_init_data
Source§fn clone(&self) -> gs_init_data
fn clone(&self) -> gs_init_data
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_init_data
impl Debug for gs_init_data
Source§impl Ord for gs_init_data
impl Ord for gs_init_data
Source§fn cmp(&self, other: &gs_init_data) -> Ordering
fn cmp(&self, other: &gs_init_data) -> 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_init_data
impl PartialEq for gs_init_data
Source§impl PartialOrd for gs_init_data
impl PartialOrd for gs_init_data
impl Copy for gs_init_data
impl Eq for gs_init_data
impl StructuralPartialEq for gs_init_data
Auto Trait Implementations§
impl Freeze for gs_init_data
impl RefUnwindSafe for gs_init_data
impl !Send for gs_init_data
impl !Sync for gs_init_data
impl Unpin for gs_init_data
impl UnwindSafe for gs_init_data
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