pub struct ViSurface { /* private fields */ }
Implementations§
Source§impl ViSurface
impl ViSurface
pub fn new(entry: &Entry, instance: &Instance) -> Self
Sourcepub unsafe fn create_vi_surface(
&self,
create_info: &ViSurfaceCreateInfoNN,
allocation_callbacks: Option<&AllocationCallbacks>,
) -> VkResult<SurfaceKHR>
pub unsafe fn create_vi_surface( &self, create_info: &ViSurfaceCreateInfoNN, allocation_callbacks: Option<&AllocationCallbacks>, ) -> VkResult<SurfaceKHR>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &NnViSurfaceFn
pub fn instance(&self) -> Instance
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ViSurface
impl RefUnwindSafe for ViSurface
impl Send for ViSurface
impl Sync for ViSurface
impl Unpin for ViSurface
impl UnwindSafe for ViSurface
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
)