Struct ash::vk::definitions::XcbSurfaceCreateInfoKHR
source · #[repr(C)]pub struct XcbSurfaceCreateInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: XcbSurfaceCreateFlagsKHR,
pub connection: *mut xcb_connection_t,
pub window: xcb_window_t,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: XcbSurfaceCreateFlagsKHR
§connection: *mut xcb_connection_t
§window: xcb_window_t
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> XcbSurfaceCreateInfoKHR<'a>
impl<'a> XcbSurfaceCreateInfoKHR<'a>
pub fn flags(self, flags: XcbSurfaceCreateFlagsKHR) -> Self
pub fn connection(self, connection: *mut xcb_connection_t) -> Self
pub fn window(self, window: xcb_window_t) -> Self
Trait Implementations§
source§impl<'a> Clone for XcbSurfaceCreateInfoKHR<'a>
impl<'a> Clone for XcbSurfaceCreateInfoKHR<'a>
source§fn clone(&self) -> XcbSurfaceCreateInfoKHR<'a>
fn clone(&self) -> XcbSurfaceCreateInfoKHR<'a>
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 moresource§impl<'a> Debug for XcbSurfaceCreateInfoKHR<'a>
impl<'a> Debug for XcbSurfaceCreateInfoKHR<'a>
source§impl Default for XcbSurfaceCreateInfoKHR<'_>
impl Default for XcbSurfaceCreateInfoKHR<'_>
source§impl<'a> TaggedStructure for XcbSurfaceCreateInfoKHR<'a>
impl<'a> TaggedStructure for XcbSurfaceCreateInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::XCB_SURFACE_CREATE_INFO_KHR
impl<'a> Copy for XcbSurfaceCreateInfoKHR<'a>
impl Send for XcbSurfaceCreateInfoKHR<'_>
impl Sync for XcbSurfaceCreateInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for XcbSurfaceCreateInfoKHR<'a>
impl<'a> RefUnwindSafe for XcbSurfaceCreateInfoKHR<'a>
impl<'a> Unpin for XcbSurfaceCreateInfoKHR<'a>
impl<'a> UnwindSafe for XcbSurfaceCreateInfoKHR<'a>
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