#[repr(C)]pub struct MetalSurfaceCreateInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: MetalSurfaceCreateFlagsEXT,
pub p_layer: *const CAMetalLayer,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: MetalSurfaceCreateFlagsEXT
§p_layer: *const CAMetalLayer
Implementations§
Source§impl MetalSurfaceCreateInfoEXT
impl MetalSurfaceCreateInfoEXT
pub fn builder<'a>() -> MetalSurfaceCreateInfoEXTBuilder<'a>
Trait Implementations§
Source§impl Clone for MetalSurfaceCreateInfoEXT
impl Clone for MetalSurfaceCreateInfoEXT
Source§fn clone(&self) -> MetalSurfaceCreateInfoEXT
fn clone(&self) -> MetalSurfaceCreateInfoEXT
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 Debug for MetalSurfaceCreateInfoEXT
impl Debug for MetalSurfaceCreateInfoEXT
Source§impl Default for MetalSurfaceCreateInfoEXT
impl Default for MetalSurfaceCreateInfoEXT
Source§impl TaggedStructure for MetalSurfaceCreateInfoEXT
impl TaggedStructure for MetalSurfaceCreateInfoEXT
const STRUCTURE_TYPE: StructureType = StructureType::METAL_SURFACE_CREATE_INFO_EXT
impl Copy for MetalSurfaceCreateInfoEXT
Auto Trait Implementations§
impl Freeze for MetalSurfaceCreateInfoEXT
impl RefUnwindSafe for MetalSurfaceCreateInfoEXT
impl !Send for MetalSurfaceCreateInfoEXT
impl !Sync for MetalSurfaceCreateInfoEXT
impl Unpin for MetalSurfaceCreateInfoEXT
impl UnwindSafe for MetalSurfaceCreateInfoEXT
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)