Struct swf_types::tags::DefineVideoStream
source · [−]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
sourceimpl Clone for DefineVideoStream
impl Clone for DefineVideoStream
sourcefn clone(&self) -> DefineVideoStream
fn clone(&self) -> DefineVideoStream
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DefineVideoStream
impl Debug for DefineVideoStream
sourceimpl<'de> Deserialize<'de> for DefineVideoStream
impl<'de> Deserialize<'de> for DefineVideoStream
sourcefn 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
sourceimpl Hash for DefineVideoStream
impl Hash for DefineVideoStream
sourceimpl Ord for DefineVideoStream
impl Ord for DefineVideoStream
sourceimpl PartialEq<DefineVideoStream> for DefineVideoStream
impl PartialEq<DefineVideoStream> for DefineVideoStream
sourcefn eq(&self, other: &DefineVideoStream) -> bool
fn eq(&self, other: &DefineVideoStream) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DefineVideoStream) -> bool
fn ne(&self, other: &DefineVideoStream) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DefineVideoStream> for DefineVideoStream
impl PartialOrd<DefineVideoStream> for DefineVideoStream
sourcefn partial_cmp(&self, other: &DefineVideoStream) -> Option<Ordering>
fn partial_cmp(&self, other: &DefineVideoStream) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for DefineVideoStream
impl Serialize for DefineVideoStream
impl Eq for DefineVideoStream
impl StructuralEq for DefineVideoStream
impl StructuralPartialEq for DefineVideoStream
Auto Trait Implementations
impl RefUnwindSafe for DefineVideoStream
impl Send for DefineVideoStream
impl Sync for DefineVideoStream
impl Unpin for DefineVideoStream
impl UnwindSafe for DefineVideoStream
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more