pub struct DisplayPropertiesKHRBuilder<'a> { /* private fields */ }Expand description
Builder for DisplayPropertiesKHR.
Implementations§
Source§impl<'a> DisplayPropertiesKHRBuilder<'a>
impl<'a> DisplayPropertiesKHRBuilder<'a>
pub fn display(self, value: DisplayKHR) -> DisplayPropertiesKHRBuilder<'a>
pub fn display_name(self, value: &'a CStr) -> DisplayPropertiesKHRBuilder<'a>
pub fn physical_dimensions( self, value: Extent2D, ) -> DisplayPropertiesKHRBuilder<'a>
pub fn physical_resolution( self, value: Extent2D, ) -> DisplayPropertiesKHRBuilder<'a>
pub fn supported_transforms( self, value: SurfaceTransformFlagBitsKHR, ) -> DisplayPropertiesKHRBuilder<'a>
pub fn plane_reorder_possible( self, value: bool, ) -> DisplayPropertiesKHRBuilder<'a>
pub fn persistent_content(self, value: bool) -> DisplayPropertiesKHRBuilder<'a>
Trait Implementations§
Source§impl<'a> Deref for DisplayPropertiesKHRBuilder<'a>
impl<'a> Deref for DisplayPropertiesKHRBuilder<'a>
Source§type Target = DisplayPropertiesKHR
type Target = DisplayPropertiesKHR
The resulting type after dereferencing.
Source§impl<'a> DerefMut for DisplayPropertiesKHRBuilder<'a>
impl<'a> DerefMut for DisplayPropertiesKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DisplayPropertiesKHRBuilder<'a>
impl<'a> RefUnwindSafe for DisplayPropertiesKHRBuilder<'a>
impl<'a> !Send for DisplayPropertiesKHRBuilder<'a>
impl<'a> !Sync for DisplayPropertiesKHRBuilder<'a>
impl<'a> Unpin for DisplayPropertiesKHRBuilder<'a>
impl<'a> UnsafeUnpin for DisplayPropertiesKHRBuilder<'a>
impl<'a> UnwindSafe for DisplayPropertiesKHRBuilder<'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