pub struct GenlockOptions { /* private fields */ }Expand description
Optional reference source and native configuration for a Genlock.
An empty configuration starts on the system clock with the SDK defaults.
Implementations§
Source§impl GenlockOptions
impl GenlockOptions
Sourcepub fn configured_source(&self) -> Option<&Source>
pub fn configured_source(&self) -> Option<&Source>
The configured reference source, before any genlock is created.
Sourcepub fn clear_source(self) -> Self
pub fn clear_source(self) -> Self
Restore the default system-clock source.
Sourcepub fn config(self, config: AdvancedConfig) -> Self
pub fn config(self, config: AdvancedConfig) -> Self
Use this native JSON configuration at creation.
Sourcepub fn configured_config(&self) -> Option<&AdvancedConfig>
pub fn configured_config(&self) -> Option<&AdvancedConfig>
The exact configuration given to Self::config.
Sourcepub fn clear_config(self) -> Self
pub fn clear_config(self) -> Self
Restore the SDK’s default native configuration.
Trait Implementations§
Source§impl Clone for GenlockOptions
impl Clone for GenlockOptions
Source§impl Debug for GenlockOptions
impl Debug for GenlockOptions
Source§impl Default for GenlockOptions
impl Default for GenlockOptions
impl Eq for GenlockOptions
Source§impl Hash for GenlockOptions
impl Hash for GenlockOptions
Source§impl PartialEq for GenlockOptions
impl PartialEq for GenlockOptions
impl StructuralPartialEq for GenlockOptions
Auto Trait Implementations§
impl Freeze for GenlockOptions
impl RefUnwindSafe for GenlockOptions
impl Send for GenlockOptions
impl Sync for GenlockOptions
impl Unpin for GenlockOptions
impl UnsafeUnpin for GenlockOptions
impl UnwindSafe for GenlockOptions
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