Struct libcamera::framebuffer::FrameMetadataPlanes
source · pub struct FrameMetadataPlanes { /* private fields */ }
Implementations§
source§impl FrameMetadataPlanes
impl FrameMetadataPlanes
sourcepub fn len(&self) -> usize
pub fn len(&self) -> usize
Number of planes within framebuffer metadata.
Should be consistent with other planes within framebuffer.
sourcepub fn get(&self, index: usize) -> Option<FrameMetadataPlane>
pub fn get(&self, index: usize) -> Option<FrameMetadataPlane>
Returns framebuffer plane metadata at a given index.
Return None if given index is out of range of available planes.
Trait Implementations§
source§impl Debug for FrameMetadataPlanes
impl Debug for FrameMetadataPlanes
source§impl Drop for FrameMetadataPlanes
impl Drop for FrameMetadataPlanes
source§impl<'d> IntoIterator for &'d FrameMetadataPlanes
impl<'d> IntoIterator for &'d FrameMetadataPlanes
Auto Trait Implementations§
impl Freeze for FrameMetadataPlanes
impl RefUnwindSafe for FrameMetadataPlanes
impl !Send for FrameMetadataPlanes
impl !Sync for FrameMetadataPlanes
impl Unpin for FrameMetadataPlanes
impl UnwindSafe for FrameMetadataPlanes
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