Struct drm_sys::drm_mode_rect
source · #[repr(C)]pub struct drm_mode_rect {
pub x1: __s32,
pub y1: __s32,
pub x2: __s32,
pub y2: __s32,
}
Fields§
§x1: __s32
§y1: __s32
§x2: __s32
§y2: __s32
Trait Implementations§
source§impl Clone for drm_mode_rect
impl Clone for drm_mode_rect
source§fn clone(&self) -> drm_mode_rect
fn clone(&self) -> drm_mode_rect
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 drm_mode_rect
impl Debug for drm_mode_rect
source§impl Default for drm_mode_rect
impl Default for drm_mode_rect
source§fn default() -> drm_mode_rect
fn default() -> drm_mode_rect
Returns the “default value” for a type. Read more
source§impl Hash for drm_mode_rect
impl Hash for drm_mode_rect
source§impl PartialEq for drm_mode_rect
impl PartialEq for drm_mode_rect
impl Copy for drm_mode_rect
impl Eq for drm_mode_rect
impl StructuralPartialEq for drm_mode_rect
Auto Trait Implementations§
impl Freeze for drm_mode_rect
impl RefUnwindSafe for drm_mode_rect
impl Send for drm_mode_rect
impl Sync for drm_mode_rect
impl Unpin for drm_mode_rect
impl UnwindSafe for drm_mode_rect
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)