pub struct StreamInfo {
pub width: u32,
pub height: u32,
pub is_keyframe: bool,
}Expand description
Stream information retrieved from either an Encoder or Decoder instance.
Fields§
§width: u32The stream’s display width in pixels.
height: u32The stream’s display height in pixels.
is_keyframe: boolTrue if the returned decoded frame will be a keyframe.
Trait Implementations§
Source§impl Clone for StreamInfo
impl Clone for StreamInfo
Source§fn clone(&self) -> StreamInfo
fn clone(&self) -> StreamInfo
Returns a duplicate 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 StreamInfo
impl Debug for StreamInfo
Source§impl From<vpx_codec_stream_info> for StreamInfo
impl From<vpx_codec_stream_info> for StreamInfo
Source§fn from(value: vpx_codec_stream_info) -> Self
fn from(value: vpx_codec_stream_info) -> Self
Converts to this type from the input type.
Source§impl Hash for StreamInfo
impl Hash for StreamInfo
Source§impl PartialEq for StreamInfo
impl PartialEq for StreamInfo
impl Copy for StreamInfo
impl Eq for StreamInfo
impl StructuralPartialEq for StreamInfo
Auto Trait Implementations§
impl Freeze for StreamInfo
impl RefUnwindSafe for StreamInfo
impl Send for StreamInfo
impl Sync for StreamInfo
impl Unpin for StreamInfo
impl UnwindSafe for StreamInfo
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