Struct x11rb_protocol::protocol::xf86dri::DrmClipRect
source · pub struct DrmClipRect {
pub x1: i16,
pub y1: i16,
pub x2: i16,
pub x3: i16,
}
Fields§
§x1: i16
§y1: i16
§x2: i16
§x3: i16
Trait Implementations§
source§impl Clone for DrmClipRect
impl Clone for DrmClipRect
source§fn clone(&self) -> DrmClipRect
fn clone(&self) -> DrmClipRect
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 DrmClipRect
impl Debug for DrmClipRect
source§impl Default for DrmClipRect
impl Default for DrmClipRect
source§fn default() -> DrmClipRect
fn default() -> DrmClipRect
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DrmClipRect
impl<'de> Deserialize<'de> for DrmClipRect
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 DrmClipRect
impl Hash for DrmClipRect
source§impl Ord for DrmClipRect
impl Ord for DrmClipRect
source§fn cmp(&self, other: &DrmClipRect) -> Ordering
fn cmp(&self, other: &DrmClipRect) -> 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 DrmClipRect
impl PartialEq for DrmClipRect
source§fn eq(&self, other: &DrmClipRect) -> bool
fn eq(&self, other: &DrmClipRect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DrmClipRect
impl PartialOrd for DrmClipRect
source§fn partial_cmp(&self, other: &DrmClipRect) -> Option<Ordering>
fn partial_cmp(&self, other: &DrmClipRect) -> 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 DrmClipRect
impl Serialize for DrmClipRect
source§impl Serialize for DrmClipRect
impl Serialize for DrmClipRect
source§impl TryParse for DrmClipRect
impl TryParse for DrmClipRect
impl Copy for DrmClipRect
impl Eq for DrmClipRect
impl StructuralPartialEq for DrmClipRect
Auto Trait Implementations§
impl Freeze for DrmClipRect
impl RefUnwindSafe for DrmClipRect
impl Send for DrmClipRect
impl Sync for DrmClipRect
impl Unpin for DrmClipRect
impl UnwindSafe for DrmClipRect
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