#[repr(C)]pub struct _cef_accelerated_paint_native_pixmap_plane_info_t {
pub stride: u32,
pub offset: u64,
pub size: u64,
pub fd: c_int,
}Expand description
Structure containing the plane information of the shared texture. Sync with native_pixmap_handle.h
Fields§
§stride: u32The strides and offsets in bytes to be used when accessing the buffers via a memory mapping. One per plane per entry. Size in bytes of the plane is necessary to map the buffers.
offset: u64§size: u64§fd: c_intFile descriptor for the underlying memory object (usually dmabuf).
Trait Implementations§
Source§impl Clone for _cef_accelerated_paint_native_pixmap_plane_info_t
impl Clone for _cef_accelerated_paint_native_pixmap_plane_info_t
Source§fn clone(&self) -> _cef_accelerated_paint_native_pixmap_plane_info_t
fn clone(&self) -> _cef_accelerated_paint_native_pixmap_plane_info_t
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 _cef_accelerated_paint_native_pixmap_plane_info_t
Auto Trait Implementations§
impl Freeze for _cef_accelerated_paint_native_pixmap_plane_info_t
impl RefUnwindSafe for _cef_accelerated_paint_native_pixmap_plane_info_t
impl Send for _cef_accelerated_paint_native_pixmap_plane_info_t
impl Sync for _cef_accelerated_paint_native_pixmap_plane_info_t
impl Unpin for _cef_accelerated_paint_native_pixmap_plane_info_t
impl UnwindSafe for _cef_accelerated_paint_native_pixmap_plane_info_t
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