Struct ash::vk::definitions::AndroidSurfaceCreateInfoKHR
source · #[repr(C)]pub struct AndroidSurfaceCreateInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: AndroidSurfaceCreateFlagsKHR,
pub window: *mut ANativeWindow,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: AndroidSurfaceCreateFlagsKHR
§window: *mut ANativeWindow
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> AndroidSurfaceCreateInfoKHR<'a>
impl<'a> AndroidSurfaceCreateInfoKHR<'a>
pub fn flags(self, flags: AndroidSurfaceCreateFlagsKHR) -> Self
pub fn window(self, window: *mut ANativeWindow) -> Self
Trait Implementations§
source§impl<'a> Clone for AndroidSurfaceCreateInfoKHR<'a>
impl<'a> Clone for AndroidSurfaceCreateInfoKHR<'a>
source§fn clone(&self) -> AndroidSurfaceCreateInfoKHR<'a>
fn clone(&self) -> AndroidSurfaceCreateInfoKHR<'a>
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 moresource§impl<'a> Debug for AndroidSurfaceCreateInfoKHR<'a>
impl<'a> Debug for AndroidSurfaceCreateInfoKHR<'a>
source§impl Default for AndroidSurfaceCreateInfoKHR<'_>
impl Default for AndroidSurfaceCreateInfoKHR<'_>
source§impl<'a> TaggedStructure for AndroidSurfaceCreateInfoKHR<'a>
impl<'a> TaggedStructure for AndroidSurfaceCreateInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::ANDROID_SURFACE_CREATE_INFO_KHR
impl<'a> Copy for AndroidSurfaceCreateInfoKHR<'a>
impl Send for AndroidSurfaceCreateInfoKHR<'_>
impl Sync for AndroidSurfaceCreateInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for AndroidSurfaceCreateInfoKHR<'a>
impl<'a> RefUnwindSafe for AndroidSurfaceCreateInfoKHR<'a>
impl<'a> Unpin for AndroidSurfaceCreateInfoKHR<'a>
impl<'a> UnwindSafe for AndroidSurfaceCreateInfoKHR<'a>
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