#[repr(C)]pub struct _cef_accelerated_paint_info_common_t {Show 13 fields
pub size: usize,
pub timestamp: u64,
pub coded_size: cef_size_t,
pub visible_rect: cef_rect_t,
pub content_rect: cef_rect_t,
pub source_size: cef_size_t,
pub capture_update_rect: cef_rect_t,
pub region_capture_rect: cef_rect_t,
pub capture_counter: u64,
pub has_capture_update_rect: u8,
pub has_region_capture_rect: u8,
pub has_source_size: u8,
pub has_capture_counter: u8,
}Expand description
Structure containing shared texture common metadata. For documentation on each field, please refer to src/media/base/video_frame_metadata.h for actual details.
Fields§
§size: usizeSize of this structure.
timestamp: u64Timestamp of the frame in microseconds since capture start.
coded_size: cef_size_tThe full dimensions of the video frame.
visible_rect: cef_rect_tThe visible area of the video frame.
content_rect: cef_rect_tThe region of the video frame that capturer would like to populate.
source_size: cef_size_tFull size of the source frame.
capture_update_rect: cef_rect_tUpdated area of frame, can be considered as the dirty area.
region_capture_rect: cef_rect_tMay reflects where the frame’s contents originate from if region capture is used internally.
capture_counter: u64The increamental counter of the frame.
has_capture_update_rect: u8Optional flag of capture_update_rect
has_region_capture_rect: u8Optional flag of region_capture_rect
has_source_size: u8Optional flag of source_size
has_capture_counter: u8Optional flag of capture_counter
Trait Implementations§
Source§impl Clone for _cef_accelerated_paint_info_common_t
impl Clone for _cef_accelerated_paint_info_common_t
Source§fn clone(&self) -> _cef_accelerated_paint_info_common_t
fn clone(&self) -> _cef_accelerated_paint_info_common_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_common_t
Auto Trait Implementations§
impl Freeze for _cef_accelerated_paint_info_common_t
impl RefUnwindSafe for _cef_accelerated_paint_info_common_t
impl Send for _cef_accelerated_paint_info_common_t
impl Sync for _cef_accelerated_paint_info_common_t
impl Unpin for _cef_accelerated_paint_info_common_t
impl UnwindSafe for _cef_accelerated_paint_info_common_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