#[repr(C)]pub struct mpv_opengl_drm_draw_surface_size {
pub width: c_int,
pub height: c_int,
}
Expand description
For MPV_RENDER_PARAM_DRM_DRAW_SURFACE_SIZE.
Fields§
§width: c_int
size of the draw plane surface in pixels.
height: c_int
size of the draw plane surface in pixels.
Trait Implementations§
Source§impl Clone for mpv_opengl_drm_draw_surface_size
impl Clone for mpv_opengl_drm_draw_surface_size
Source§fn clone(&self) -> mpv_opengl_drm_draw_surface_size
fn clone(&self) -> mpv_opengl_drm_draw_surface_size
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 moreimpl Copy for mpv_opengl_drm_draw_surface_size
Auto Trait Implementations§
impl Freeze for mpv_opengl_drm_draw_surface_size
impl RefUnwindSafe for mpv_opengl_drm_draw_surface_size
impl Send for mpv_opengl_drm_draw_surface_size
impl Sync for mpv_opengl_drm_draw_surface_size
impl Unpin for mpv_opengl_drm_draw_surface_size
impl UnwindSafe for mpv_opengl_drm_draw_surface_size
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