Struct ash::extensions::khr::XcbSurface
source · pub struct XcbSurface { /* private fields */ }
Implementations§
source§impl XcbSurface
impl XcbSurface
pub fn new(entry: &Entry, instance: &Instance) -> Self
sourcepub unsafe fn create_xcb_surface(
&self,
create_info: &XcbSurfaceCreateInfoKHR,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
pub unsafe fn create_xcb_surface( &self, create_info: &XcbSurfaceCreateInfoKHR, allocation_callbacks: Option<&AllocationCallbacks> ) -> VkResult<SurfaceKHR>
sourcepub unsafe fn get_physical_device_xcb_presentation_support(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
connection: &mut xcb_connection_t,
visual_id: xcb_visualid_t
) -> bool
pub unsafe fn get_physical_device_xcb_presentation_support( &self, physical_device: PhysicalDevice, queue_family_index: u32, connection: &mut xcb_connection_t, visual_id: xcb_visualid_t ) -> bool
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrXcbSurfaceFn
pub fn instance(&self) -> Instance
Trait Implementations§
source§impl Clone for XcbSurface
impl Clone for XcbSurface
source§fn clone(&self) -> XcbSurface
fn clone(&self) -> XcbSurface
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 XcbSurface
impl RefUnwindSafe for XcbSurface
impl Send for XcbSurface
impl Sync for XcbSurface
impl Unpin for XcbSurface
impl UnwindSafe for XcbSurface
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