pub struct VideoWindowDescriptor {
pub horizontal_offset: u16,
pub vertical_offset: u16,
pub window_priority: u8,
}Expand description
Video Window Descriptor.
Fields§
§horizontal_offset: u16Horizontal offset (14 bits).
vertical_offset: u16Vertical offset (14 bits).
window_priority: u8Window priority (4 bits).
Trait Implementations§
Source§impl Clone for VideoWindowDescriptor
impl Clone for VideoWindowDescriptor
Source§fn clone(&self) -> VideoWindowDescriptor
fn clone(&self) -> VideoWindowDescriptor
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 VideoWindowDescriptor
impl Debug for VideoWindowDescriptor
Source§impl<'a> DescriptorDef<'a> for VideoWindowDescriptor
impl<'a> DescriptorDef<'a> for VideoWindowDescriptor
impl Eq for VideoWindowDescriptor
Source§impl<'a> From<VideoWindowDescriptor> for AnyDescriptor<'a>
impl<'a> From<VideoWindowDescriptor> for AnyDescriptor<'a>
Source§fn from(d: VideoWindowDescriptor) -> Self
fn from(d: VideoWindowDescriptor) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for VideoWindowDescriptor
impl<'a> Parse<'a> for VideoWindowDescriptor
Source§impl PartialEq for VideoWindowDescriptor
impl PartialEq for VideoWindowDescriptor
Source§fn eq(&self, other: &VideoWindowDescriptor) -> bool
fn eq(&self, other: &VideoWindowDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VideoWindowDescriptor
impl Serialize for VideoWindowDescriptor
Source§impl Serialize for VideoWindowDescriptor
impl Serialize for VideoWindowDescriptor
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for VideoWindowDescriptor
Source§impl<'a> Yokeable<'a> for VideoWindowDescriptorwhere
Self: Sized,
impl<'a> Yokeable<'a> for VideoWindowDescriptorwhere
Self: Sized,
Source§type Output = VideoWindowDescriptor
type Output = VideoWindowDescriptor
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl Freeze for VideoWindowDescriptor
impl RefUnwindSafe for VideoWindowDescriptor
impl Send for VideoWindowDescriptor
impl Sync for VideoWindowDescriptor
impl Unpin for VideoWindowDescriptor
impl UnsafeUnpin for VideoWindowDescriptor
impl UnwindSafe for VideoWindowDescriptor
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