Struct x11rb_protocol::protocol::xvmc::SurfaceInfo
source · pub struct SurfaceInfo {
pub id: Surface,
pub chroma_format: u16,
pub pad0: u16,
pub max_width: u16,
pub max_height: u16,
pub subpicture_max_width: u16,
pub subpicture_max_height: u16,
pub mc_type: u32,
pub flags: u32,
}
Fields§
§id: Surface
§chroma_format: u16
§pad0: u16
§max_width: u16
§max_height: u16
§subpicture_max_width: u16
§subpicture_max_height: u16
§mc_type: u32
§flags: u32
Trait Implementations§
source§impl Clone for SurfaceInfo
impl Clone for SurfaceInfo
source§fn clone(&self) -> SurfaceInfo
fn clone(&self) -> SurfaceInfo
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 SurfaceInfo
impl Debug for SurfaceInfo
source§impl Default for SurfaceInfo
impl Default for SurfaceInfo
source§fn default() -> SurfaceInfo
fn default() -> SurfaceInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SurfaceInfo
impl<'de> Deserialize<'de> for SurfaceInfo
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 SurfaceInfo
impl Hash for SurfaceInfo
source§impl Ord for SurfaceInfo
impl Ord for SurfaceInfo
source§fn cmp(&self, other: &SurfaceInfo) -> Ordering
fn cmp(&self, other: &SurfaceInfo) -> 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 SurfaceInfo
impl PartialEq for SurfaceInfo
source§fn eq(&self, other: &SurfaceInfo) -> bool
fn eq(&self, other: &SurfaceInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SurfaceInfo
impl PartialOrd for SurfaceInfo
source§fn partial_cmp(&self, other: &SurfaceInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &SurfaceInfo) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for SurfaceInfo
impl Serialize for SurfaceInfo
source§impl Serialize for SurfaceInfo
impl Serialize for SurfaceInfo
source§impl TryParse for SurfaceInfo
impl TryParse for SurfaceInfo
impl Copy for SurfaceInfo
impl Eq for SurfaceInfo
impl StructuralPartialEq for SurfaceInfo
Auto Trait Implementations§
impl Freeze for SurfaceInfo
impl RefUnwindSafe for SurfaceInfo
impl Send for SurfaceInfo
impl Sync for SurfaceInfo
impl Unpin for SurfaceInfo
impl UnwindSafe for SurfaceInfo
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
source§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more