pub struct StreamDependency {
dependency_id: StreamId,
weight: u8,
is_exclusive: bool,
}Fields§
§dependency_id: StreamIdThe ID of the stream dependency target
weight: u8The weight for the stream. The value exposed (and set) here is always in
the range [0, 255], instead of [1, 256] (as defined in section 5.3.2.)
so that the value fits into a u8.
is_exclusive: boolTrue if the stream dependency is exclusive.
Implementations§
Trait Implementations§
Source§impl Debug for StreamDependency
impl Debug for StreamDependency
Source§impl PartialEq for StreamDependency
impl PartialEq for StreamDependency
impl Eq for StreamDependency
impl StructuralPartialEq for StreamDependency
Auto Trait Implementations§
impl Freeze for StreamDependency
impl RefUnwindSafe for StreamDependency
impl Send for StreamDependency
impl Sync for StreamDependency
impl Unpin for StreamDependency
impl UnwindSafe for StreamDependency
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
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.