#[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§
Source§impl DisplaySurfaceCreateInfoKHR
impl DisplaySurfaceCreateInfoKHR
pub fn builder<'a>() -> DisplaySurfaceCreateInfoKHRBuilder<'a>
Trait Implementations§
Source§impl Clone for DisplaySurfaceCreateInfoKHR
impl Clone for DisplaySurfaceCreateInfoKHR
Source§fn clone(&self) -> DisplaySurfaceCreateInfoKHR
fn clone(&self) -> DisplaySurfaceCreateInfoKHR
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 moreimpl Copy for DisplaySurfaceCreateInfoKHR
Auto Trait Implementations§
impl Freeze for DisplaySurfaceCreateInfoKHR
impl RefUnwindSafe for DisplaySurfaceCreateInfoKHR
impl !Send for DisplaySurfaceCreateInfoKHR
impl !Sync for DisplaySurfaceCreateInfoKHR
impl Unpin for DisplaySurfaceCreateInfoKHR
impl UnwindSafe for DisplaySurfaceCreateInfoKHR
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)