Enum TestPattern
#[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§
§impl Clone for TestPattern
impl Clone for TestPattern
§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 moreimpl Copy for TestPattern
§impl Debug for TestPattern
impl Debug for TestPattern
§impl Default for TestPattern
impl Default for TestPattern
§fn default() -> TestPattern
fn default() -> TestPattern
Returns the “default value” for a type. Read more
impl Eq for TestPattern
§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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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.