pub struct StreamType(/* private fields */);
Expand description
A muxado stream type.
This is a type-safe wrapper for a primitive number type that enforces range or bitmask constraints.
Implementations§
Source§impl StreamType
impl StreamType
Trait Implementations§
Source§impl Clone for StreamType
impl Clone for StreamType
Source§fn clone(&self) -> StreamType
fn clone(&self) -> StreamType
Returns a copy 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 StreamType
impl Debug for StreamType
Source§impl Default for StreamType
impl Default for StreamType
Source§impl Deref for StreamType
impl Deref for StreamType
Source§impl Display for StreamType
impl Display for StreamType
Source§impl Hash for StreamType
impl Hash for StreamType
Source§impl Ord for StreamType
impl Ord for StreamType
Source§fn cmp(&self, other: &StreamType) -> Ordering
fn cmp(&self, other: &StreamType) -> 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 StreamType
impl PartialEq for StreamType
Source§impl PartialOrd for StreamType
impl PartialOrd for StreamType
Source§impl TryFrom<u32> for StreamType
impl TryFrom<u32> for StreamType
impl Copy for StreamType
impl Eq for StreamType
impl StructuralPartialEq for StreamType
Auto Trait Implementations§
impl Freeze for StreamType
impl RefUnwindSafe for StreamType
impl Send for StreamType
impl Sync for StreamType
impl Unpin for StreamType
impl UnwindSafe for StreamType
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