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