Struct mpeg2ts_reader::pes::EsRate [−][src]
pub struct EsRate(_);
Indication of an Elementary Stream’s data rate
Implementations
impl EsRate[src]
pub fn new(es_rate: u32) -> EsRate[src]
panics if the given value is greater than 2^22 -1.
pub fn bytes_per_second(&self) -> u32[src]
return the es_rate value converted into a bytes-per-second quantity.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EsRate
impl Send for EsRate
impl Sync for EsRate
impl Unpin for EsRate
impl UnwindSafe for EsRate
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,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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.
pub 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>,