pub struct PooledFrameRef { /* private fields */ }Expand description
Zero-copy shared reference handle to a rendered RGBA8 frame buffer backed by Arc<Vec<u8>> for direct display-list submission.
Implementations§
Source§impl PooledFrameRef
Zero-copy pixel accessors for PooledFrameRef.
impl PooledFrameRef
Zero-copy pixel accessors for PooledFrameRef.
Source§impl PooledFrameRef
impl PooledFrameRef
pub fn get_width(&self) -> u32
pub fn get_mut_width(&mut self) -> &mut u32
pub fn set_width(&mut self, val: u32) -> &mut Self
pub fn get_height(&self) -> u32
pub fn get_mut_height(&mut self) -> &mut u32
pub fn set_height(&mut self, val: u32) -> &mut Self
pub fn get_fence_id(&self) -> u64
pub fn get_mut_fence_id(&mut self) -> &mut u64
pub fn set_fence_id(&mut self, val: u64) -> &mut Self
pub fn get_generation(&self) -> u64
pub fn get_mut_generation(&mut self) -> &mut u64
pub fn set_generation(&mut self, val: u64) -> &mut Self
Trait Implementations§
Source§impl Clone for PooledFrameRef
impl Clone for PooledFrameRef
Source§impl Debug for PooledFrameRef
impl Debug for PooledFrameRef
Source§impl Default for PooledFrameRef
impl Default for PooledFrameRef
Source§impl PartialEq for PooledFrameRef
impl PartialEq for PooledFrameRef
impl StructuralPartialEq for PooledFrameRef
Auto Trait Implementations§
impl Forget for PooledFrameRef
impl Freeze for PooledFrameRef
impl Move for PooledFrameRef
impl RefUnwindSafe for PooledFrameRef
impl Send for PooledFrameRef
impl Sync for PooledFrameRef
impl Unpin for PooledFrameRef
impl UnsafeUnpin for PooledFrameRef
impl UnwindSafe for PooledFrameRef
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