#[repr(C)]pub struct _cef_accelerated_paint_info_t {
pub size: usize,
pub planes: [cef_accelerated_paint_native_pixmap_plane_t; 4],
pub plane_count: c_int,
pub modifier: u64,
pub format: cef_color_type_t,
pub extra: cef_accelerated_paint_info_common_t,
}Expand description
Structure containing shared texture information for the OnAcceleratedPaint callback. Resources will be released to the underlying pool for reuse when the callback returns from client code.
Fields§
§size: usizeSize of this structure.
planes: [cef_accelerated_paint_native_pixmap_plane_t; 4]Planes of the shared texture, usually file descriptors of dmabufs.
plane_count: c_intPlane count.
modifier: u64Modifier could be used with EGL driver.
format: cef_color_type_tThe pixel format of the texture.
extra: cef_accelerated_paint_info_common_tThe extra common info.
Trait Implementations§
Source§impl Clone for _cef_accelerated_paint_info_t
impl Clone for _cef_accelerated_paint_info_t
Source§fn clone(&self) -> _cef_accelerated_paint_info_t
fn clone(&self) -> _cef_accelerated_paint_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_info_t
Auto Trait Implementations§
impl Freeze for _cef_accelerated_paint_info_t
impl RefUnwindSafe for _cef_accelerated_paint_info_t
impl Send for _cef_accelerated_paint_info_t
impl Sync for _cef_accelerated_paint_info_t
impl Unpin for _cef_accelerated_paint_info_t
impl UnwindSafe for _cef_accelerated_paint_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