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 Freeze for MacOSSurface
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)