#[repr(packed(1))]pub struct AdrenoKgslParams {Show 19 fields
pub device_id: u32,
pub chip_id: u32,
pub gpu_id: u32,
pub device_shadow_size: u64,
pub device_shadow_flags: u32,
pub mmu_enabled: u32,
pub gmem_sizebytes: u64,
pub highest_bank_bit: u32,
pub device_bitness: u32,
pub ucode_version_pfp: u32,
pub ucode_version_pm4: u32,
pub min_access_length: u32,
pub ubwc_mode: u32,
pub secure_ctxt_support: u32,
pub secure_buf_alignment: u32,
pub gpu_secure_va_size: u64,
pub gpu_va64_size: u64,
pub gpu_model: [u8; 32],
pub vk_device_id: u32,
}Fields§
§device_id: u32§chip_id: u32§gpu_id: u32§device_shadow_size: u64§device_shadow_flags: u32§mmu_enabled: u32§gmem_sizebytes: u64§highest_bank_bit: u32§device_bitness: u32§ucode_version_pfp: u32§ucode_version_pm4: u32§min_access_length: u32§ubwc_mode: u32§secure_ctxt_support: u32§secure_buf_alignment: u32§gpu_secure_va_size: u64§gpu_va64_size: u64§gpu_model: [u8; 32]§vk_device_id: u32Trait Implementations§
Source§impl Clone for AdrenoKgslParams
impl Clone for AdrenoKgslParams
Source§fn clone(&self) -> AdrenoKgslParams
fn clone(&self) -> AdrenoKgslParams
Returns a duplicate 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 AdrenoKgslParams
impl Debug for AdrenoKgslParams
Source§impl Default for AdrenoKgslParams
impl Default for AdrenoKgslParams
Source§fn default() -> AdrenoKgslParams
fn default() -> AdrenoKgslParams
Returns the “default value” for a type. Read more
Source§impl FromBytes for AdrenoKgslParams
impl FromBytes for AdrenoKgslParams
Source§impl FromZeros for AdrenoKgslParams
impl FromZeros for AdrenoKgslParams
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Extends a
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.Source§impl IntoBytes for AdrenoKgslParams
impl IntoBytes for AdrenoKgslParams
Source§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl TryFromBytes for AdrenoKgslParams
impl TryFromBytes for AdrenoKgslParams
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for AdrenoKgslParams
impl Immutable for AdrenoKgslParams
Auto Trait Implementations§
impl Freeze for AdrenoKgslParams
impl RefUnwindSafe for AdrenoKgslParams
impl Send for AdrenoKgslParams
impl Sync for AdrenoKgslParams
impl Unpin for AdrenoKgslParams
impl UnsafeUnpin for AdrenoKgslParams
impl UnwindSafe for AdrenoKgslParams
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more