Struct drm_sys::drm_clip_rect
source · #[repr(C)]pub struct drm_clip_rect {
pub x1: c_ushort,
pub y1: c_ushort,
pub x2: c_ushort,
pub y2: c_ushort,
}
Fields§
§x1: c_ushort
§y1: c_ushort
§x2: c_ushort
§y2: c_ushort
Trait Implementations§
source§impl Clone for drm_clip_rect
impl Clone for drm_clip_rect
source§fn clone(&self) -> drm_clip_rect
fn clone(&self) -> drm_clip_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_clip_rect
impl Debug for drm_clip_rect
source§impl Default for drm_clip_rect
impl Default for drm_clip_rect
source§fn default() -> drm_clip_rect
fn default() -> drm_clip_rect
Returns the “default value” for a type. Read more
source§impl Hash for drm_clip_rect
impl Hash for drm_clip_rect
source§impl PartialEq for drm_clip_rect
impl PartialEq for drm_clip_rect
impl Copy for drm_clip_rect
impl Eq for drm_clip_rect
impl StructuralPartialEq for drm_clip_rect
Auto Trait Implementations§
impl Freeze for drm_clip_rect
impl RefUnwindSafe for drm_clip_rect
impl Send for drm_clip_rect
impl Sync for drm_clip_rect
impl Unpin for drm_clip_rect
impl UnwindSafe for drm_clip_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
)