#[non_exhaustive]pub enum TestPattern {
Timing,
Gradient,
Bounce,
}Expand description
The generated picture test and test:<name> publish.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Timing
A sweeping bar, a frame counter, a clock, and a flashing marker.
The marker flashes with the test tone’s beep.
Shows smoothness, dropped frames, latency, and A/V sync. See
VideoSource::test_pattern.
Gradient
A moving gradient. Cheap, and different in every frame.
Bounce
A white square bouncing left and right on a background that drifts through the hues.
See BouncePattern.
Trait Implementations§
Source§impl Clone for TestPattern
impl Clone for TestPattern
impl Copy for TestPattern
Source§impl Debug for TestPattern
impl Debug for TestPattern
Source§impl Default for TestPattern
impl Default for TestPattern
impl Eq for TestPattern
Source§impl PartialEq for TestPattern
impl PartialEq for TestPattern
impl StructuralPartialEq 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.