#[non_exhaustive]#[repr(u8)]pub enum ChannelSyncType {
None = 0,
Time = 1,
Angle = 2,
Distance = 3,
Index = 4,
}Expand description
\brief Synchronization type
Defines the synchronization type. The type is ‘None’ for fixed length channel but should be set for master and synchronization channels.
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.
None = 0
< No synchronization (default value)
Time = 1
< Time type
Angle = 2
< Angle type
Distance = 3
< Distance type
Index = 4
< Sample number
Trait Implementations§
Source§impl Clone for ChannelSyncType
impl Clone for ChannelSyncType
Source§fn clone(&self) -> ChannelSyncType
fn clone(&self) -> ChannelSyncType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelSyncType
impl Debug for ChannelSyncType
Source§impl Hash for ChannelSyncType
impl Hash for ChannelSyncType
Source§impl Ord for ChannelSyncType
impl Ord for ChannelSyncType
Source§fn cmp(&self, other: &ChannelSyncType) -> Ordering
fn cmp(&self, other: &ChannelSyncType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChannelSyncType
impl PartialEq for ChannelSyncType
Source§impl PartialOrd for ChannelSyncType
impl PartialOrd for ChannelSyncType
impl Copy for ChannelSyncType
impl Eq for ChannelSyncType
impl StructuralPartialEq for ChannelSyncType
Auto Trait Implementations§
impl Freeze for ChannelSyncType
impl RefUnwindSafe for ChannelSyncType
impl Send for ChannelSyncType
impl Sync for ChannelSyncType
impl Unpin for ChannelSyncType
impl UnsafeUnpin for ChannelSyncType
impl UnwindSafe for ChannelSyncType
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