Struct ash::vk::DisplaySurfaceCreateInfoKHR
source · [−]#[repr(C)]pub struct DisplaySurfaceCreateInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: DisplaySurfaceCreateFlagsKHR,
pub display_mode: DisplayModeKHR,
pub plane_index: u32,
pub plane_stack_index: u32,
pub transform: SurfaceTransformFlagsKHR,
pub global_alpha: f32,
pub alpha_mode: DisplayPlaneAlphaFlagsKHR,
pub image_extent: Extent2D,
}
Expand description
Fields
s_type: StructureType
p_next: *const c_void
flags: DisplaySurfaceCreateFlagsKHR
display_mode: DisplayModeKHR
plane_index: u32
plane_stack_index: u32
transform: SurfaceTransformFlagsKHR
global_alpha: f32
alpha_mode: DisplayPlaneAlphaFlagsKHR
image_extent: Extent2D
Implementations
sourceimpl DisplaySurfaceCreateInfoKHR
impl DisplaySurfaceCreateInfoKHR
pub fn builder<'a>() -> DisplaySurfaceCreateInfoKHRBuilder<'a>
Trait Implementations
sourceimpl Clone for DisplaySurfaceCreateInfoKHR
impl Clone for DisplaySurfaceCreateInfoKHR
sourcefn clone(&self) -> DisplaySurfaceCreateInfoKHR
fn clone(&self) -> DisplaySurfaceCreateInfoKHR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DisplaySurfaceCreateInfoKHR
impl Debug for DisplaySurfaceCreateInfoKHR
sourceimpl Default for DisplaySurfaceCreateInfoKHR
impl Default for DisplaySurfaceCreateInfoKHR
impl Copy for DisplaySurfaceCreateInfoKHR
Auto Trait Implementations
impl RefUnwindSafe for DisplaySurfaceCreateInfoKHR
impl !Send for DisplaySurfaceCreateInfoKHR
impl !Sync for DisplaySurfaceCreateInfoKHR
impl Unpin for DisplaySurfaceCreateInfoKHR
impl UnwindSafe for DisplaySurfaceCreateInfoKHR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more