pub struct ChannelKind { /* private fields */ }Expand description
ChannelKind - should be one unique value for each type of Channel
Implementations§
Source§impl ChannelKind
impl ChannelKind
Sourcepub fn ser(&self, channel_kinds: &ChannelKinds, writer: &mut dyn BitWrite)
pub fn ser(&self, channel_kinds: &ChannelKinds, writer: &mut dyn BitWrite)
Serializes this kind’s compact net-ID into writer using the bit-width registered in channel_kinds.
Trait Implementations§
Source§impl Clone for ChannelKind
impl Clone for ChannelKind
Source§fn clone(&self) -> ChannelKind
fn clone(&self) -> ChannelKind
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 moreSource§impl Debug for ChannelKind
impl Debug for ChannelKind
Source§impl Hash for ChannelKind
impl Hash for ChannelKind
Source§impl PartialEq for ChannelKind
impl PartialEq for ChannelKind
Source§fn eq(&self, other: &ChannelKind) -> bool
fn eq(&self, other: &ChannelKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ChannelKind
impl Eq for ChannelKind
impl StructuralPartialEq for ChannelKind
Auto Trait Implementations§
impl Freeze for ChannelKind
impl RefUnwindSafe for ChannelKind
impl Send for ChannelKind
impl Sync for ChannelKind
impl Unpin for ChannelKind
impl UnsafeUnpin for ChannelKind
impl UnwindSafe for ChannelKind
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