Struct rutabaga_gfx::VulkanInfo
source · #[repr(C)]pub struct VulkanInfo {
pub memory_idx: u32,
pub device_id: DeviceId,
}
Expand description
Memory index and physical device id of the associated VkDeviceMemory.
Fields§
§memory_idx: u32
§device_id: DeviceId
Trait Implementations§
source§impl Clone for VulkanInfo
impl Clone for VulkanInfo
source§fn clone(&self) -> VulkanInfo
fn clone(&self) -> VulkanInfo
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 VulkanInfo
impl Debug for VulkanInfo
source§impl Default for VulkanInfo
impl Default for VulkanInfo
source§fn default() -> VulkanInfo
fn default() -> VulkanInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VulkanInfo
impl<'de> Deserialize<'de> for VulkanInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromBytes for VulkanInfo
impl FromBytes for VulkanInfo
source§impl FromZeros for VulkanInfo
impl FromZeros for VulkanInfo
source§impl Hash for VulkanInfo
impl Hash for VulkanInfo
source§impl IntoBytes for VulkanInfo
impl IntoBytes for VulkanInfo
§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
§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 Ord for VulkanInfo
impl Ord for VulkanInfo
source§fn cmp(&self, other: &VulkanInfo) -> Ordering
fn cmp(&self, other: &VulkanInfo) -> Ordering
1.21.0 · 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 VulkanInfo
impl PartialEq for VulkanInfo
source§fn eq(&self, other: &VulkanInfo) -> bool
fn eq(&self, other: &VulkanInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VulkanInfo
impl PartialOrd for VulkanInfo
source§fn partial_cmp(&self, other: &VulkanInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &VulkanInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for VulkanInfo
impl Serialize for VulkanInfo
source§impl TryFromBytes for VulkanInfo
impl TryFromBytes for VulkanInfo
§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,
§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,
§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 VulkanInfo
impl Eq for VulkanInfo
impl Immutable for VulkanInfo
impl StructuralPartialEq for VulkanInfo
Auto Trait Implementations§
impl Freeze for VulkanInfo
impl RefUnwindSafe for VulkanInfo
impl Send for VulkanInfo
impl Sync for VulkanInfo
impl Unpin for VulkanInfo
impl UnwindSafe for VulkanInfo
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)