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