#[repr(C)]pub struct virgl_renderer_gl_ctx_param {
pub version: c_int,
pub shared: bool,
pub major_ver: c_int,
pub minor_ver: c_int,
pub compat_ctx: c_int,
}
Fields§
§version: c_int
§major_ver: c_int
§minor_ver: c_int
§compat_ctx: c_int
Trait Implementations§
source§impl Clone for virgl_renderer_gl_ctx_param
impl Clone for virgl_renderer_gl_ctx_param
source§fn clone(&self) -> virgl_renderer_gl_ctx_param
fn clone(&self) -> virgl_renderer_gl_ctx_param
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 virgl_renderer_gl_ctx_param
impl Debug for virgl_renderer_gl_ctx_param
source§impl Default for virgl_renderer_gl_ctx_param
impl Default for virgl_renderer_gl_ctx_param
source§fn default() -> virgl_renderer_gl_ctx_param
fn default() -> virgl_renderer_gl_ctx_param
Returns the “default value” for a type. Read more
impl Copy for virgl_renderer_gl_ctx_param
Auto Trait Implementations§
impl RefUnwindSafe for virgl_renderer_gl_ctx_param
impl Send for virgl_renderer_gl_ctx_param
impl Sync for virgl_renderer_gl_ctx_param
impl Unpin for virgl_renderer_gl_ctx_param
impl UnwindSafe for virgl_renderer_gl_ctx_param
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