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