pub struct NormalizedFrame<FrameId> { /* private fields */ }Expand description
One source frame represented as tightly packed opaque linear-light RGB16.
Implementations§
Source§impl<F> NormalizedFrame<F>
impl<F> NormalizedFrame<F>
pub fn id(&self) -> &F
pub const fn timestamp(&self) -> Timestamp
pub const fn dimensions(&self) -> PixelDimensions
pub fn linear_rgb16(&self) -> &[u16]
Trait Implementations§
Source§impl<FrameId: Clone> Clone for NormalizedFrame<FrameId>
impl<FrameId: Clone> Clone for NormalizedFrame<FrameId>
Source§impl<FrameId: Debug> Debug for NormalizedFrame<FrameId>
impl<FrameId: Debug> Debug for NormalizedFrame<FrameId>
impl<FrameId: Eq> Eq for NormalizedFrame<FrameId>
Source§impl<FrameId: PartialEq> PartialEq for NormalizedFrame<FrameId>
impl<FrameId: PartialEq> PartialEq for NormalizedFrame<FrameId>
impl<FrameId: PartialEq> StructuralPartialEq for NormalizedFrame<FrameId>
Auto Trait Implementations§
impl<FrameId> Forget for NormalizedFrame<FrameId>
impl<FrameId> Freeze for NormalizedFrame<FrameId>where
FrameId: Freeze,
impl<FrameId> Move for NormalizedFrame<FrameId>
impl<FrameId> RefUnwindSafe for NormalizedFrame<FrameId>where
FrameId: RefUnwindSafe,
impl<FrameId> Send for NormalizedFrame<FrameId>where
FrameId: Send,
impl<FrameId> Sync for NormalizedFrame<FrameId>where
FrameId: Sync,
impl<FrameId> Unpin for NormalizedFrame<FrameId>where
FrameId: Unpin,
impl<FrameId> UnsafeUnpin for NormalizedFrame<FrameId>where
FrameId: UnsafeUnpin,
impl<FrameId> UnwindSafe for NormalizedFrame<FrameId>where
FrameId: UnwindSafe,
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