pub struct MH160ChannelIdNoSync(/* private fields */);Expand description
The channel ID, corresponding to the channel ID numbers on the MultiHarp’s interface panel. The ID must be greater than or equal to 1.
Although the sync channel can be used as an ordinary channel when in T2 mode, it is not possible to represent it using this type. Use MH160ChannelIdZeroIsSync when the sync channel should be representable as an ordinary channel.
Internally, the MultiHarp software counts channel IDs from zero and does not assign an ID to the sync channel. Lower-level APIs which require that internal representation should use MH160InternalChannelId.
Implementations§
Trait Implementations§
Source§impl Clone for MH160ChannelIdNoSync
impl Clone for MH160ChannelIdNoSync
Source§fn clone(&self) -> MH160ChannelIdNoSync
fn clone(&self) -> MH160ChannelIdNoSync
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 MH160ChannelIdNoSync
Source§impl Debug for MH160ChannelIdNoSync
impl Debug for MH160ChannelIdNoSync
Source§impl<'de> Deserialize<'de> for MH160ChannelIdNoSync
impl<'de> Deserialize<'de> for MH160ChannelIdNoSync
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MH160ChannelIdNoSync
Source§impl From<MH160ChannelIdNoSync> for u8
impl From<MH160ChannelIdNoSync> for u8
Source§fn from(value: MH160ChannelIdNoSync) -> Self
fn from(value: MH160ChannelIdNoSync) -> Self
Converts to this type from the input type.
Source§impl From<MH160ChannelIdNoSync> for MH160InternalChannelId
impl From<MH160ChannelIdNoSync> for MH160InternalChannelId
Source§fn from(value: MH160ChannelIdNoSync) -> Self
fn from(value: MH160ChannelIdNoSync) -> Self
Converts to this type from the input type.
Source§impl Hash for MH160ChannelIdNoSync
impl Hash for MH160ChannelIdNoSync
Source§impl PartialEq for MH160ChannelIdNoSync
impl PartialEq for MH160ChannelIdNoSync
Source§fn eq(&self, other: &MH160ChannelIdNoSync) -> bool
fn eq(&self, other: &MH160ChannelIdNoSync) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MH160ChannelIdNoSync
impl Serialize for MH160ChannelIdNoSync
impl StructuralPartialEq for MH160ChannelIdNoSync
Auto Trait Implementations§
impl Freeze for MH160ChannelIdNoSync
impl RefUnwindSafe for MH160ChannelIdNoSync
impl Send for MH160ChannelIdNoSync
impl Sync for MH160ChannelIdNoSync
impl Unpin for MH160ChannelIdNoSync
impl UnsafeUnpin for MH160ChannelIdNoSync
impl UnwindSafe for MH160ChannelIdNoSync
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.