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