pub struct FrameBuffer { /* private fields */ }Implementations§
Source§impl FrameBuffer
impl FrameBuffer
Retrieve the user cookie associated with this buffer.
Set a user cookie for this buffer.
Trait Implementations§
Source§impl AsFrameBuffer for FrameBuffer
impl AsFrameBuffer for FrameBuffer
Source§unsafe fn ptr(&self) -> NonNull<libcamera_framebuffer_t>
unsafe fn ptr(&self) -> NonNull<libcamera_framebuffer_t>
Returns raw framebuffer used by libcamera. Read more
Source§fn metadata(&self) -> Option<Immutable<FrameMetadataRef<'_>>>
fn metadata(&self) -> Option<Immutable<FrameMetadataRef<'_>>>
Returns framebuffer metadata information. Read more
Source§fn planes(&self) -> Immutable<FrameBufferPlanesRef<'_>>
fn planes(&self) -> Immutable<FrameBufferPlanesRef<'_>>
Provides access to framebuffer data by exposing file descriptors, offsets and lengths of the planes.
User cookie associated with the buffer.
Set user cookie associated with the buffer.
Source§fn release_fence(&self) -> Option<Fence>
fn release_fence(&self) -> Option<Fence>
Releases the acquire fence associated with this framebuffer, if any. Read more
Source§fn request(&self) -> Option<RequestRef<'_>>
fn request(&self) -> Option<RequestRef<'_>>
Returns a non-owning view of the Request owning this framebuffer, if any.
Source§impl Debug for FrameBuffer
impl Debug for FrameBuffer
Source§impl Drop for FrameBuffer
impl Drop for FrameBuffer
impl Send for FrameBuffer
Auto Trait Implementations§
impl Freeze for FrameBuffer
impl RefUnwindSafe for FrameBuffer
impl !Sync for FrameBuffer
impl Unpin for FrameBuffer
impl UnwindSafe for FrameBuffer
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