pub struct DefineVideoStream {
pub id: u16,
pub frame_count: usize,
pub width: u16,
pub height: u16,
pub use_smoothing: bool,
pub deblocking: VideoDeblocking,
pub codec: VideoCodec,
}
Fields§
§id: u16
§frame_count: usize
§width: u16
§height: u16
§use_smoothing: bool
§deblocking: VideoDeblocking
§codec: VideoCodec
Trait Implementations§
Source§impl Clone for DefineVideoStream
impl Clone for DefineVideoStream
Source§fn clone(&self) -> DefineVideoStream
fn clone(&self) -> DefineVideoStream
Returns a copy 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 DefineVideoStream
impl Debug for DefineVideoStream
Source§impl<'de> Deserialize<'de> for DefineVideoStream
impl<'de> Deserialize<'de> for DefineVideoStream
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
Source§impl Hash for DefineVideoStream
impl Hash for DefineVideoStream
Source§impl Ord for DefineVideoStream
impl Ord for DefineVideoStream
Source§fn cmp(&self, other: &DefineVideoStream) -> Ordering
fn cmp(&self, other: &DefineVideoStream) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DefineVideoStream
impl PartialEq for DefineVideoStream
Source§impl PartialOrd for DefineVideoStream
impl PartialOrd for DefineVideoStream
Source§impl Serialize for DefineVideoStream
impl Serialize for DefineVideoStream
impl Eq for DefineVideoStream
impl StructuralPartialEq for DefineVideoStream
Auto Trait Implementations§
impl Freeze for DefineVideoStream
impl RefUnwindSafe for DefineVideoStream
impl Send for DefineVideoStream
impl Sync for DefineVideoStream
impl Unpin for DefineVideoStream
impl UnwindSafe for DefineVideoStream
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