Struct vulkanalia::vk::MetalSurfaceCreateInfoEXTBuilder
source · #[repr(transparent)]pub struct MetalSurfaceCreateInfoEXTBuilder<'b> { /* private fields */ }
Expand description
A builder for a MetalSurfaceCreateInfoEXT
.
Implementations§
source§impl<'b> MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> MetalSurfaceCreateInfoEXTBuilder<'b>
pub fn flags(self, flags: MetalSurfaceCreateFlagsEXT) -> Self
pub fn layer(self, layer: *const CAMetalLayer) -> Self
pub fn build(self) -> MetalSurfaceCreateInfoEXT
Trait Implementations§
source§impl<'b> Cast for MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> Cast for MetalSurfaceCreateInfoEXTBuilder<'b>
§type Target = MetalSurfaceCreateInfoEXT
type Target = MetalSurfaceCreateInfoEXT
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> Clone for MetalSurfaceCreateInfoEXTBuilder<'b>
source§fn clone(&self) -> MetalSurfaceCreateInfoEXTBuilder<'b>
fn clone(&self) -> MetalSurfaceCreateInfoEXTBuilder<'b>
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<'b> Debug for MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> Debug for MetalSurfaceCreateInfoEXTBuilder<'b>
source§impl<'b> Default for MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> Default for MetalSurfaceCreateInfoEXTBuilder<'b>
source§fn default() -> MetalSurfaceCreateInfoEXTBuilder<'b>
fn default() -> MetalSurfaceCreateInfoEXTBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> Deref for MetalSurfaceCreateInfoEXTBuilder<'b>
source§impl<'b> DerefMut for MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> DerefMut for MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> Copy for MetalSurfaceCreateInfoEXTBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> !Send for MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> !Sync for MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> Unpin for MetalSurfaceCreateInfoEXTBuilder<'b>
impl<'b> UnwindSafe for MetalSurfaceCreateInfoEXTBuilder<'b>
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