#[non_exhaustive]pub struct TearDownConfig {
pub clear_sink: bool,
pub sink_clear_timing: SinkClearTiming,
pub scrambler_off: ScramblerOff,
}Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.clear_sink: boolWhether the sink’s TMDS_Config is cleared. Default false.
sink_clear_timing: SinkClearTimingWhen the sink is cleared, relative to stopping the output.
scrambler_off: ScramblerOffWhen the source’s scrambler is turned off, relative to the sink.
Implementations§
Source§impl TearDownConfig
impl TearDownConfig
Sourcepub const DEFAULT: TearDownConfig
pub const DEFAULT: TearDownConfig
Every field at its default.
Sourcepub const fn with_clear_sink(self, clear_sink: bool) -> TearDownConfig
pub const fn with_clear_sink(self, clear_sink: bool) -> TearDownConfig
Sets clear_sink.
Sourcepub const fn with_sink_clear_timing(
self,
sink_clear_timing: SinkClearTiming,
) -> TearDownConfig
pub const fn with_sink_clear_timing( self, sink_clear_timing: SinkClearTiming, ) -> TearDownConfig
Sets sink_clear_timing.
Sourcepub const fn with_scrambler_off(
self,
scrambler_off: ScramblerOff,
) -> TearDownConfig
pub const fn with_scrambler_off( self, scrambler_off: ScramblerOff, ) -> TearDownConfig
Sets scrambler_off.
Trait Implementations§
Source§impl Clone for TearDownConfig
impl Clone for TearDownConfig
Source§fn clone(&self) -> TearDownConfig
fn clone(&self) -> TearDownConfig
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 TearDownConfig
Source§impl Debug for TearDownConfig
impl Debug for TearDownConfig
Source§impl Default for TearDownConfig
impl Default for TearDownConfig
Source§fn default() -> TearDownConfig
fn default() -> TearDownConfig
Returns the “default value” for a type. Read more
impl Eq for TearDownConfig
Source§impl Hash for TearDownConfig
impl Hash for TearDownConfig
Source§impl PartialEq for TearDownConfig
impl PartialEq for TearDownConfig
impl StructuralPartialEq for TearDownConfig
Auto Trait Implementations§
impl Forget for TearDownConfig
impl Freeze for TearDownConfig
impl Move for TearDownConfig
impl RefUnwindSafe for TearDownConfig
impl Send for TearDownConfig
impl Sync for TearDownConfig
impl Unpin for TearDownConfig
impl UnsafeUnpin for TearDownConfig
impl UnwindSafe for TearDownConfig
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