pub struct ScratchampOutputProtocol;
Expand description
The protocol implementation for physical output of Scratchamp.
Trait Implementations§
Source§impl AvcLevelOperation for ScratchampOutputProtocol
impl AvcLevelOperation for ScratchampOutputProtocol
Source§const LEVEL_STEP: i16 = 256i16
const LEVEL_STEP: i16 = 256i16
The step value of signal level.
Source§fn create_level_parameters() -> AvcLevelParameters
fn create_level_parameters() -> AvcLevelParameters
Instantiate parameters.
Source§fn cache_levels(
avc: &BebobAvc,
params: &mut AvcLevelParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_levels( avc: &BebobAvc, params: &mut AvcLevelParameters, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware to the parameters.
Source§fn update_levels(
avc: &BebobAvc,
params: &AvcLevelParameters,
old: &mut AvcLevelParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn update_levels( avc: &BebobAvc, params: &AvcLevelParameters, old: &mut AvcLevelParameters, timeout_ms: u32, ) -> Result<(), Error>
Update the hardware when detecting any changes in the parameters.
Source§impl Debug for ScratchampOutputProtocol
impl Debug for ScratchampOutputProtocol
Source§impl Default for ScratchampOutputProtocol
impl Default for ScratchampOutputProtocol
Source§fn default() -> ScratchampOutputProtocol
fn default() -> ScratchampOutputProtocol
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScratchampOutputProtocol
impl RefUnwindSafe for ScratchampOutputProtocol
impl Send for ScratchampOutputProtocol
impl Sync for ScratchampOutputProtocol
impl Unpin for ScratchampOutputProtocol
impl UnwindSafe for ScratchampOutputProtocol
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