[−][src]Struct koibumi_core::message::StreamNumbers
A list of stream numbers.
Implementations
impl StreamNumbers[src]
pub fn new(list: Vec<StreamNumber>) -> Self[src]
Constructs a stream numbers object from a list of stream numbers.
pub fn contains(&self, x: StreamNumber) -> bool[src]
Returns true if the list contains the given stream number.
pub fn intersection(&self, other: &Self) -> Self[src]
Returns the intersection of two list of stream numbers. The result list is unique and sorted.
Trait Implementations
impl AsRef<[StreamNumber]> for StreamNumbers[src]
fn as_ref(&self) -> &[StreamNumber][src]
impl Clone for StreamNumbers[src]
fn clone(&self) -> StreamNumbers[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for StreamNumbers[src]
impl<'de> Deserialize<'de> for StreamNumbers[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Eq for StreamNumbers[src]
impl From<StreamNumbers> for VarIntList[src]
fn from(sns: StreamNumbers) -> Self[src]
impl From<Vec<StreamNumber>> for StreamNumbers[src]
fn from(values: Vec<StreamNumber>) -> Self[src]
impl Hash for StreamNumbers[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for StreamNumbers[src]
fn cmp(&self, other: &StreamNumbers) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<StreamNumbers> for StreamNumbers[src]
fn eq(&self, other: &StreamNumbers) -> bool[src]
fn ne(&self, other: &StreamNumbers) -> bool[src]
impl PartialOrd<StreamNumbers> for StreamNumbers[src]
fn partial_cmp(&self, other: &StreamNumbers) -> Option<Ordering>[src]
fn lt(&self, other: &StreamNumbers) -> bool[src]
fn le(&self, other: &StreamNumbers) -> bool[src]
fn gt(&self, other: &StreamNumbers) -> bool[src]
fn ge(&self, other: &StreamNumbers) -> bool[src]
impl ReadFrom for StreamNumbers[src]
impl Serialize for StreamNumbers[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralEq for StreamNumbers[src]
impl StructuralPartialEq for StreamNumbers[src]
impl TryFrom<VarIntList> for StreamNumbers[src]
type Error = ConvertStreamNumbersError
The type returned in the event of a conversion error.
fn try_from(vil: VarIntList) -> Result<Self, Self::Error>[src]
impl WriteTo for StreamNumbers[src]
Auto Trait Implementations
impl RefUnwindSafe for StreamNumbers
impl Send for StreamNumbers
impl Sync for StreamNumbers
impl Unpin for StreamNumbers
impl UnwindSafe for StreamNumbers
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ReadFromExact for T where
T: ReadFrom, [src]
T: ReadFrom,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,