Struct x11rb_protocol::protocol::xv::QueryBestSizeReply
source · pub struct QueryBestSizeReply {
pub sequence: u16,
pub length: u32,
pub actual_width: u16,
pub actual_height: u16,
}
Fields§
§sequence: u16
§length: u32
§actual_width: u16
§actual_height: u16
Trait Implementations§
source§impl Clone for QueryBestSizeReply
impl Clone for QueryBestSizeReply
source§fn clone(&self) -> QueryBestSizeReply
fn clone(&self) -> QueryBestSizeReply
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 QueryBestSizeReply
impl Debug for QueryBestSizeReply
source§impl Default for QueryBestSizeReply
impl Default for QueryBestSizeReply
source§fn default() -> QueryBestSizeReply
fn default() -> QueryBestSizeReply
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for QueryBestSizeReply
impl<'de> Deserialize<'de> for QueryBestSizeReply
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 From<QueryBestSizeReply> for Reply
impl From<QueryBestSizeReply> for Reply
source§fn from(reply: QueryBestSizeReply) -> Reply
fn from(reply: QueryBestSizeReply) -> Reply
Converts to this type from the input type.
source§impl Hash for QueryBestSizeReply
impl Hash for QueryBestSizeReply
source§impl Ord for QueryBestSizeReply
impl Ord for QueryBestSizeReply
source§fn cmp(&self, other: &QueryBestSizeReply) -> Ordering
fn cmp(&self, other: &QueryBestSizeReply) -> 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 QueryBestSizeReply
impl PartialEq for QueryBestSizeReply
source§fn eq(&self, other: &QueryBestSizeReply) -> bool
fn eq(&self, other: &QueryBestSizeReply) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for QueryBestSizeReply
impl PartialOrd for QueryBestSizeReply
source§fn partial_cmp(&self, other: &QueryBestSizeReply) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryBestSizeReply) -> 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 QueryBestSizeReply
impl Serialize for QueryBestSizeReply
source§impl Serialize for QueryBestSizeReply
impl Serialize for QueryBestSizeReply
source§impl TryParse for QueryBestSizeReply
impl TryParse for QueryBestSizeReply
impl Copy for QueryBestSizeReply
impl Eq for QueryBestSizeReply
impl StructuralPartialEq for QueryBestSizeReply
Auto Trait Implementations§
impl Freeze for QueryBestSizeReply
impl RefUnwindSafe for QueryBestSizeReply
impl Send for QueryBestSizeReply
impl Sync for QueryBestSizeReply
impl Unpin for QueryBestSizeReply
impl UnwindSafe for QueryBestSizeReply
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