Struct intel_gpu::native::_drm_i915_sarea

source ·
#[repr(C)]
pub struct _drm_i915_sarea {
Show 53 fields pub texList: [drm_tex_region; 256], pub last_upload: c_int, pub last_enqueue: c_int, pub last_dispatch: c_int, pub ctxOwner: c_int, pub texAge: c_int, pub pf_enabled: c_int, pub pf_active: c_int, pub pf_current_page: c_int, pub perf_boxes: c_int, pub width: c_int, pub height: c_int, pub front_handle: drm_handle_t, pub front_offset: c_int, pub front_size: c_int, pub back_handle: drm_handle_t, pub back_offset: c_int, pub back_size: c_int, pub depth_handle: drm_handle_t, pub depth_offset: c_int, pub depth_size: c_int, pub tex_handle: drm_handle_t, pub tex_offset: c_int, pub tex_size: c_int, pub log_tex_granularity: c_int, pub pitch: c_int, pub rotation: c_int, pub rotated_offset: c_int, pub rotated_size: c_int, pub rotated_pitch: c_int, pub virtualX: c_int, pub virtualY: c_int, pub front_tiled: c_uint, pub back_tiled: c_uint, pub depth_tiled: c_uint, pub rotated_tiled: c_uint, pub rotated2_tiled: c_uint, pub pipeA_x: c_int, pub pipeA_y: c_int, pub pipeA_w: c_int, pub pipeA_h: c_int, pub pipeB_x: c_int, pub pipeB_y: c_int, pub pipeB_w: c_int, pub pipeB_h: c_int, pub unused_handle: drm_handle_t, pub unused1: __u32, pub unused2: __u32, pub unused3: __u32, pub front_bo_handle: __u32, pub back_bo_handle: __u32, pub unused_bo_handle: __u32, pub depth_bo_handle: __u32,
}

Fields§

§texList: [drm_tex_region; 256]§last_upload: c_int§last_enqueue: c_int§last_dispatch: c_int§ctxOwner: c_int§texAge: c_int§pf_enabled: c_int§pf_active: c_int§pf_current_page: c_int§perf_boxes: c_int§width: c_int§height: c_int§front_handle: drm_handle_t§front_offset: c_int§front_size: c_int§back_handle: drm_handle_t§back_offset: c_int§back_size: c_int§depth_handle: drm_handle_t§depth_offset: c_int§depth_size: c_int§tex_handle: drm_handle_t§tex_offset: c_int§tex_size: c_int§log_tex_granularity: c_int§pitch: c_int§rotation: c_int§rotated_offset: c_int§rotated_size: c_int§rotated_pitch: c_int§virtualX: c_int§virtualY: c_int§front_tiled: c_uint§back_tiled: c_uint§depth_tiled: c_uint§rotated_tiled: c_uint§rotated2_tiled: c_uint§pipeA_x: c_int§pipeA_y: c_int§pipeA_w: c_int§pipeA_h: c_int§pipeB_x: c_int§pipeB_y: c_int§pipeB_w: c_int§pipeB_h: c_int§unused_handle: drm_handle_t§unused1: __u32§unused2: __u32§unused3: __u32§front_bo_handle: __u32§back_bo_handle: __u32§unused_bo_handle: __u32§depth_bo_handle: __u32

Trait Implementations§

source§

impl Clone for _drm_i915_sarea

source§

fn clone(&self) -> _drm_i915_sarea

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for _drm_i915_sarea

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for _drm_i915_sarea

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.