pub struct VkPeerMemoryFeatureFlags {
pub copy_src: bool,
pub copy_dst: bool,
pub generic_src: bool,
pub generic_dst: bool,
}Expand description
Wrapper for VkPeerMemoryFeatureFlags.
Use the macro VkPeerMemoryFeatureFlags! as an alternative method to create a structure. For example, these two snippets return the same value:
VkPeerMemoryFeatureFlags!(copy_src, copy_dst)VkPeerMemoryFeatureFlags {
copy_src: true,
copy_dst: true,
..VkPeerMemoryFeatureFlags::none()
}Fields§
§copy_src: bool§copy_dst: bool§generic_src: bool§generic_dst: boolImplementations§
Trait Implementations§
Source§impl Clone for VkPeerMemoryFeatureFlags
impl Clone for VkPeerMemoryFeatureFlags
Source§fn clone(&self) -> VkPeerMemoryFeatureFlags
fn clone(&self) -> VkPeerMemoryFeatureFlags
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 VkPeerMemoryFeatureFlags
impl Debug for VkPeerMemoryFeatureFlags
Source§impl Default for VkPeerMemoryFeatureFlags
impl Default for VkPeerMemoryFeatureFlags
Source§fn default() -> VkPeerMemoryFeatureFlags
fn default() -> VkPeerMemoryFeatureFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VkPeerMemoryFeatureFlags
impl RefUnwindSafe for VkPeerMemoryFeatureFlags
impl Send for VkPeerMemoryFeatureFlags
impl Sync for VkPeerMemoryFeatureFlags
impl Unpin for VkPeerMemoryFeatureFlags
impl UnwindSafe for VkPeerMemoryFeatureFlags
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