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