Struct ash::extensions::khr::XlibSurface
source · pub struct XlibSurface { /* private fields */ }
Implementations§
source§impl XlibSurface
impl XlibSurface
pub fn new(entry: &Entry, instance: &Instance) -> Self
sourcepub unsafe fn create_xlib_surface(
&self,
create_info: &XlibSurfaceCreateInfoKHR,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
pub unsafe fn create_xlib_surface( &self, create_info: &XlibSurfaceCreateInfoKHR, allocation_callbacks: Option<&AllocationCallbacks> ) -> VkResult<SurfaceKHR>
sourcepub unsafe fn get_physical_device_xlib_presentation_support(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
display: &mut Display,
visual_id: VisualID
) -> bool
pub unsafe fn get_physical_device_xlib_presentation_support( &self, physical_device: PhysicalDevice, queue_family_index: u32, display: &mut Display, visual_id: VisualID ) -> bool
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrXlibSurfaceFn
pub fn instance(&self) -> Instance
Trait Implementations§
source§impl Clone for XlibSurface
impl Clone for XlibSurface
source§fn clone(&self) -> XlibSurface
fn clone(&self) -> XlibSurface
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 XlibSurface
impl Send for XlibSurface
impl Sync for XlibSurface
impl Unpin for XlibSurface
impl UnwindSafe for XlibSurface
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