Struct sapp_linux::_sapp_gl_fbconfig
source · [−]#[repr(C)]pub struct _sapp_gl_fbconfig {
pub red_bits: c_int,
pub green_bits: c_int,
pub blue_bits: c_int,
pub alpha_bits: c_int,
pub depth_bits: c_int,
pub stencil_bits: c_int,
pub samples: c_int,
pub doublebuffer: bool,
pub handle: c_ulong,
}
Fields
red_bits: c_int
green_bits: c_int
blue_bits: c_int
alpha_bits: c_int
depth_bits: c_int
stencil_bits: c_int
samples: c_int
doublebuffer: bool
handle: c_ulong
Trait Implementations
sourceimpl Clone for _sapp_gl_fbconfig
impl Clone for _sapp_gl_fbconfig
sourcefn clone(&self) -> _sapp_gl_fbconfig
fn clone(&self) -> _sapp_gl_fbconfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for _sapp_gl_fbconfig
Auto Trait Implementations
impl RefUnwindSafe for _sapp_gl_fbconfig
impl Send for _sapp_gl_fbconfig
impl Sync for _sapp_gl_fbconfig
impl Unpin for _sapp_gl_fbconfig
impl UnwindSafe for _sapp_gl_fbconfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more