Struct drm_sys::drm_agp_info
source · #[repr(C)]pub struct drm_agp_info {
pub agp_version_major: c_int,
pub agp_version_minor: c_int,
pub mode: c_ulong,
pub aperture_base: c_ulong,
pub aperture_size: c_ulong,
pub memory_allowed: c_ulong,
pub memory_used: c_ulong,
pub id_vendor: c_ushort,
pub id_device: c_ushort,
}
Fields§
§agp_version_major: c_int
§agp_version_minor: c_int
§mode: c_ulong
§aperture_base: c_ulong
§aperture_size: c_ulong
§memory_allowed: c_ulong
§memory_used: c_ulong
§id_vendor: c_ushort
§id_device: c_ushort
Trait Implementations§
source§impl Clone for drm_agp_info
impl Clone for drm_agp_info
source§fn clone(&self) -> drm_agp_info
fn clone(&self) -> drm_agp_info
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_agp_info
impl Debug for drm_agp_info
source§impl Default for drm_agp_info
impl Default for drm_agp_info
source§fn default() -> drm_agp_info
fn default() -> drm_agp_info
Returns the “default value” for a type. Read more
source§impl Hash for drm_agp_info
impl Hash for drm_agp_info
source§impl PartialEq for drm_agp_info
impl PartialEq for drm_agp_info
impl Copy for drm_agp_info
impl Eq for drm_agp_info
impl StructuralPartialEq for drm_agp_info
Auto Trait Implementations§
impl Freeze for drm_agp_info
impl RefUnwindSafe for drm_agp_info
impl Send for drm_agp_info
impl Sync for drm_agp_info
impl Unpin for drm_agp_info
impl UnwindSafe for drm_agp_info
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
)