[][src]Struct ash::extensions::khr::XlibSurface

pub struct XlibSurface { /* fields omitted */ }

Methods

impl XlibSurface[src]

pub fn new<E: EntryV1_0, I: InstanceV1_0>(
    entry: &E,
    instance: &I
) -> XlibSurface
[src]

pub fn name() -> &'static CStr[src]

pub unsafe fn create_xlib_surface(
    &self,
    create_info: &XlibSurfaceCreateInfoKHR,
    allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
[src]

pub unsafe fn get_physical_device_xlib_presentation_support(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32,
    display: &mut Display,
    visual_id: VisualID
) -> bool
[src]

<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceXlibPresentationSupportKHR.html

pub fn fp(&self) -> &KhrXlibSurfaceFn[src]

pub fn instance(&self) -> Instance[src]

Trait Implementations

impl Clone for XlibSurface[src]

Auto Trait Implementations

impl RefUnwindSafe for XlibSurface

impl Send for XlibSurface

impl Sync for XlibSurface

impl Unpin for XlibSurface

impl UnwindSafe for XlibSurface

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.