pub struct GpuCaps {
pub device: Option<u64>,
pub formats: Vec<(u32, u64)>,
}Expand description
what a display accepts as buffers
Fields§
§device: Option<u64>the device it renders with (dev_t of a node of the DRM device), when it says so
formats: Vec<(u32, u64)>DRM fourcc and modifier
Trait Implementations§
Auto Trait Implementations§
impl Forget for GpuCaps
impl Freeze for GpuCaps
impl RefUnwindSafe for GpuCaps
impl Send for GpuCaps
impl Sync for GpuCaps
impl Unpin for GpuCaps
impl UnsafeUnpin for GpuCaps
impl UnwindSafe for GpuCaps
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