[−][src]Struct vban::Header
Implementations
impl Header
[src]
pub fn sample_rate(&self) -> SampleRate
[src]
pub fn stream_name(&self) -> Cow<'_, str>
[src]
pub fn sub_protocol(&self) -> SubProtocol
[src]
pub fn num_samples(&self) -> u8
[src]
pub fn num_channels(&self) -> u8
[src]
pub fn bit_resolution(&self) -> BitResolution
[src]
pub fn codec(&self) -> Codec
[src]
pub fn frame_number(&self) -> u32
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Header
[src]
impl Send for Header
[src]
impl Sync for Header
[src]
impl Unpin for Header
[src]
impl UnwindSafe for Header
[src]
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>,