pub struct StreamInfo {Show 23 fields
pub index: i32,
pub codec_name: String,
pub codec_long_name: String,
pub codec_type: String,
pub profile: String,
pub width: i32,
pub height: i32,
pub pix_fmt: String,
pub level: i32,
pub field_order: String,
pub color_range: String,
pub color_space: String,
pub color_transfer: String,
pub color_primaries: String,
pub duration: f64,
pub bit_rate: i64,
pub nb_frames: i32,
pub r_frame_rate: String,
pub avg_frame_rate: String,
pub sample_rate: i32,
pub channels: i32,
pub channel_layout: String,
pub bits_per_raw_sample: i32,
}Fields§
§index: i32§codec_name: String§codec_long_name: String§codec_type: String§profile: String§width: i32§height: i32§pix_fmt: String§level: i32§field_order: String§color_range: String§color_space: String§color_transfer: String§color_primaries: String§duration: f64§bit_rate: i64§nb_frames: i32§r_frame_rate: String§avg_frame_rate: String§sample_rate: i32§channels: i32§channel_layout: String§bits_per_raw_sample: i32Implementations§
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 (const: unstable) · 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<'de> Deserialize<'de> for StreamInfo
impl<'de> Deserialize<'de> for StreamInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StreamInfo
impl RefUnwindSafe for StreamInfo
impl Send for StreamInfo
impl Sync for StreamInfo
impl Unpin for StreamInfo
impl UnsafeUnpin 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