Struct x11rb_protocol::protocol::xf86vidmode::GetViewPortReply
source · pub struct GetViewPortReply {
pub sequence: u16,
pub length: u32,
pub x: u32,
pub y: u32,
}
Fields§
§sequence: u16
§length: u32
§x: u32
§y: u32
Trait Implementations§
source§impl Clone for GetViewPortReply
impl Clone for GetViewPortReply
source§fn clone(&self) -> GetViewPortReply
fn clone(&self) -> GetViewPortReply
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 GetViewPortReply
impl Debug for GetViewPortReply
source§impl Default for GetViewPortReply
impl Default for GetViewPortReply
source§fn default() -> GetViewPortReply
fn default() -> GetViewPortReply
Returns the “default value” for a type. Read more
source§impl From<GetViewPortReply> for Reply
impl From<GetViewPortReply> for Reply
source§fn from(reply: GetViewPortReply) -> Reply
fn from(reply: GetViewPortReply) -> Reply
Converts to this type from the input type.
source§impl Hash for GetViewPortReply
impl Hash for GetViewPortReply
source§impl Ord for GetViewPortReply
impl Ord for GetViewPortReply
source§fn cmp(&self, other: &GetViewPortReply) -> Ordering
fn cmp(&self, other: &GetViewPortReply) -> 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<GetViewPortReply> for GetViewPortReply
impl PartialEq<GetViewPortReply> for GetViewPortReply
source§fn eq(&self, other: &GetViewPortReply) -> bool
fn eq(&self, other: &GetViewPortReply) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GetViewPortReply> for GetViewPortReply
impl PartialOrd<GetViewPortReply> for GetViewPortReply
source§fn partial_cmp(&self, other: &GetViewPortReply) -> Option<Ordering>
fn partial_cmp(&self, other: &GetViewPortReply) -> 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 GetViewPortReply
impl Serialize for GetViewPortReply
source§impl TryParse for GetViewPortReply
impl TryParse for GetViewPortReply
impl Copy for GetViewPortReply
impl Eq for GetViewPortReply
impl StructuralEq for GetViewPortReply
impl StructuralPartialEq for GetViewPortReply
Auto Trait Implementations§
impl RefUnwindSafe for GetViewPortReply
impl Send for GetViewPortReply
impl Sync for GetViewPortReply
impl Unpin for GetViewPortReply
impl UnwindSafe for GetViewPortReply
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<RawFdContainer, Global>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer, Global> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more