pub struct ShaderInstrumentationARM(/* private fields */);Expand description
Trait Implementations§
impl Alias<ShaderInstrumentationARM> for ShaderInstrumentationARM
Available on crate feature
ext_shader_instrumentation only.Source§impl Debug for ShaderInstrumentationARM
impl Debug for ShaderInstrumentationARM
Source§impl Display for ShaderInstrumentationARM
impl Display for ShaderInstrumentationARM
impl Eq for ShaderInstrumentationARM
Source§impl Handle for ShaderInstrumentationARM
impl Handle for ShaderInstrumentationARM
const TYPE: ObjectType = ObjectType::ShaderInstrumentationARM
type InnerType = NonZero<u64>
Source§fn as_raw(&self) -> NonZeroU64
fn as_raw(&self) -> NonZeroU64
Retrieve the inner content of the vulkan handle, to be used by other Vulkan librairies not using this crate
Source§unsafe fn from_raw(x: NonZeroU64) -> Self
unsafe fn from_raw(x: NonZeroU64) -> Self
Convert a pointer to a handle
When calling this code, the user must ensure the following: Read more
Source§unsafe fn clone(&self) -> Self
unsafe fn clone(&self) -> Self
clone the current object, this function is unsafe as the caller must ensure that only one of the two
handles is destroyed, moreover, the second handle must not be used after the first has been destroyed
Source§unsafe fn try_from_raw<T>(x: T) -> Option<Self>
unsafe fn try_from_raw<T>(x: T) -> Option<Self>
Same as Handle::from_raw but allows for types that can be zero (usize or u64 depending on the handle)
Will fail if x is null/zero
Source§fn borrow<'a>(&'a self) -> BorrowedHandle<'a, Self>
fn borrow<'a>(&'a self) -> BorrowedHandle<'a, Self>
Return a representation of &self
The advantage is that BorrowedHandle<’a, Self> has internally the exact same memory
representation as the raw handle it represents and therefore should be used when a deref is not enough
like for vulkan commands that require arrays of handles
Source§fn borrow_mut<'a>(&'a mut self) -> BorrowedMutHandle<'a, Self>
fn borrow_mut<'a>(&'a mut self) -> BorrowedMutHandle<'a, Self>
See Handle::borrow
Source§impl Hash for ShaderInstrumentationARM
impl Hash for ShaderInstrumentationARM
Source§impl Ord for ShaderInstrumentationARM
impl Ord for ShaderInstrumentationARM
Source§fn cmp(&self, other: &ShaderInstrumentationARM) -> Ordering
fn cmp(&self, other: &ShaderInstrumentationARM) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShaderInstrumentationARM
impl PartialEq for ShaderInstrumentationARM
Source§fn eq(&self, other: &ShaderInstrumentationARM) -> bool
fn eq(&self, other: &ShaderInstrumentationARM) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ShaderInstrumentationARM
impl PartialOrd for ShaderInstrumentationARM
impl StructuralPartialEq for ShaderInstrumentationARM
Auto Trait Implementations§
impl Freeze for ShaderInstrumentationARM
impl RefUnwindSafe for ShaderInstrumentationARM
impl Send for ShaderInstrumentationARM
impl Sync for ShaderInstrumentationARM
impl Unpin for ShaderInstrumentationARM
impl UnsafeUnpin for ShaderInstrumentationARM
impl UnwindSafe for ShaderInstrumentationARM
Blanket Implementations§
impl<T> Alias<T> for T
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