pub struct VideoStreamInfo {
pub width: u32,
pub height: u32,
pub frame_rate: f64,
pub frames_count: u64,
}Fields§
§width: u32The width of each frame.
height: u32§frame_rate: f64§frames_count: u64The total count of frames in this stream as set in the metadata. The actual count of frames that can be read might differ.
Trait Implementations§
Source§impl Clone for VideoStreamInfo
impl Clone for VideoStreamInfo
Source§fn clone(&self) -> VideoStreamInfo
fn clone(&self) -> VideoStreamInfo
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 moreAuto Trait Implementations§
impl Freeze for VideoStreamInfo
impl RefUnwindSafe for VideoStreamInfo
impl Send for VideoStreamInfo
impl Sync for VideoStreamInfo
impl Unpin for VideoStreamInfo
impl UnsafeUnpin for VideoStreamInfo
impl UnwindSafe for VideoStreamInfo
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