Struct ash::extensions::khr::AndroidSurface
source · pub struct AndroidSurface { /* private fields */ }
Implementations§
source§impl AndroidSurface
impl AndroidSurface
pub fn new(entry: &Entry, instance: &Instance) -> Self
sourcepub unsafe fn create_android_surface(
&self,
create_info: &AndroidSurfaceCreateInfoKHR,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
pub unsafe fn create_android_surface( &self, create_info: &AndroidSurfaceCreateInfoKHR, allocation_callbacks: Option<&AllocationCallbacks> ) -> VkResult<SurfaceKHR>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrAndroidSurfaceFn
pub fn instance(&self) -> Instance
Trait Implementations§
source§impl Clone for AndroidSurface
impl Clone for AndroidSurface
source§fn clone(&self) -> AndroidSurface
fn clone(&self) -> AndroidSurface
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 moreAuto Trait Implementations§
impl Freeze for AndroidSurface
impl RefUnwindSafe for AndroidSurface
impl Send for AndroidSurface
impl Sync for AndroidSurface
impl Unpin for AndroidSurface
impl UnwindSafe for AndroidSurface
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