[−][src]Struct libmpv_sys::mpv_opengl_drm_params_v2
For MPV_RENDER_PARAM_DRM_DISPLAY_V2.
Fields
fd: c_int
DRM fd (int). Set to -1 if invalid.
crtc_id: c_int
Currently used crtc id
connector_id: c_int
Currently used connector id
atomic_request_ptr: *mut *mut _drmModeAtomicReq
Pointer to a drmModeAtomicReq pointer that is being used for the renderloop. This pointer should hold a pointer to the atomic request pointer The atomic request pointer is usually changed at every renderloop.
render_fd: c_int
DRM render node. Used for VAAPI interop. Set to -1 if invalid.
Trait Implementations
impl Clone for mpv_opengl_drm_params_v2
[src]
fn clone(&self) -> mpv_opengl_drm_params_v2
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for mpv_opengl_drm_params_v2
[src]
impl Debug for mpv_opengl_drm_params_v2
[src]
Auto Trait Implementations
impl RefUnwindSafe for mpv_opengl_drm_params_v2
impl !Send for mpv_opengl_drm_params_v2
impl !Sync for mpv_opengl_drm_params_v2
impl Unpin for mpv_opengl_drm_params_v2
impl UnwindSafe for mpv_opengl_drm_params_v2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,