pub struct TestPattern { /* private fields */ }Expand description
A deterministic synthetic source: SMPTE-style colour bars with a moving
marker, in Gray8, RGB565 or RGB888. It exists so a pipeline can be
exercised on the host, and so a firmware can prove its wiring before a
sensor is attached. Frame n is identical on every platform.
Implementations§
Trait Implementations§
Source§impl Clone for TestPattern
impl Clone for TestPattern
Source§fn clone(&self) -> TestPattern
fn clone(&self) -> TestPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestPattern
impl Debug for TestPattern
Source§impl ImageSource for TestPattern
impl ImageSource for TestPattern
Auto Trait Implementations§
impl Freeze for TestPattern
impl RefUnwindSafe for TestPattern
impl Send for TestPattern
impl Sync for TestPattern
impl Unpin for TestPattern
impl UnsafeUnpin for TestPattern
impl UnwindSafe for TestPattern
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