#[repr(C)]pub struct DisplaySurfaceCreateInfoKHR {
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: DisplaySurfaceCreateFlagsKHR,
pub displayMode: DisplayModeKHR,
pub planeIndex: u32,
pub planeStackIndex: u32,
pub transform: SurfaceTransformFlagBitsKHR,
pub globalAlpha: f32,
pub alphaMode: DisplayPlaneAlphaFlagBitsKHR,
pub imageExtent: Extent2D,
}
Fields
sType: StructureType
pNext: *const c_void
flags: DisplaySurfaceCreateFlagsKHR
displayMode: DisplayModeKHR
planeIndex: u32
planeStackIndex: u32
transform: SurfaceTransformFlagBitsKHR
globalAlpha: f32
alphaMode: DisplayPlaneAlphaFlagBitsKHR
imageExtent: Extent2D
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
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 · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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