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