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