pub struct EnsembleStreamParameters {
pub mode: StreamMode,
}
Expand description
Parameters of stream mode.
Fields§
§mode: StreamMode
The mode of isochronous stream in IEEE 1394 bus.
Trait Implementations§
Source§impl Clone for EnsembleStreamParameters
impl Clone for EnsembleStreamParameters
Source§fn clone(&self) -> EnsembleStreamParameters
fn clone(&self) -> EnsembleStreamParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EnsembleStreamParameters
impl Debug for EnsembleStreamParameters
Source§impl Default for EnsembleStreamParameters
impl Default for EnsembleStreamParameters
Source§fn default() -> EnsembleStreamParameters
fn default() -> EnsembleStreamParameters
Returns the “default value” for a type. Read more
Source§impl EnsembleParameterProtocol<EnsembleStreamParameters> for EnsembleStreamProtocol
impl EnsembleParameterProtocol<EnsembleStreamParameters> for EnsembleStreamProtocol
Source§fn whole_update(
avc: &BebobAvc,
params: &mut EnsembleStreamParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn whole_update( avc: &BebobAvc, params: &mut EnsembleStreamParameters, timeout_ms: u32, ) -> Result<(), Error>
Update the hardware for all of the parameters
Source§impl EnsembleParametersConverter<EnsembleStreamParameters> for EnsembleStreamProtocol
impl EnsembleParametersConverter<EnsembleStreamParameters> for EnsembleStreamProtocol
Source§fn build_cmds(params: &EnsembleStreamParameters) -> Vec<EnsembleCmd>
fn build_cmds(params: &EnsembleStreamParameters) -> Vec<EnsembleCmd>
Build vector of commands by the given parameters.
Source§fn parse_cmds(params: &mut EnsembleStreamParameters, cmds: &[EnsembleCmd])
fn parse_cmds(params: &mut EnsembleStreamParameters, cmds: &[EnsembleCmd])
Parse the given vector of commands for parameters.
Source§impl From<&EnsembleStreamParameters> for Vec<EnsembleCmd>
impl From<&EnsembleStreamParameters> for Vec<EnsembleCmd>
Source§fn from(params: &EnsembleStreamParameters) -> Self
fn from(params: &EnsembleStreamParameters) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EnsembleStreamParameters
impl PartialEq for EnsembleStreamParameters
Source§fn eq(&self, other: &EnsembleStreamParameters) -> bool
fn eq(&self, other: &EnsembleStreamParameters) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for EnsembleStreamParameters
impl Eq for EnsembleStreamParameters
impl StructuralPartialEq for EnsembleStreamParameters
Auto Trait Implementations§
impl Freeze for EnsembleStreamParameters
impl RefUnwindSafe for EnsembleStreamParameters
impl Send for EnsembleStreamParameters
impl Sync for EnsembleStreamParameters
impl Unpin for EnsembleStreamParameters
impl UnwindSafe for EnsembleStreamParameters
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