#[repr(transparent)]pub struct PhysicalDeviceDrmPropertiesEXTBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceDrmPropertiesEXT
.
Implementations§
source§impl PhysicalDeviceDrmPropertiesEXTBuilder
impl PhysicalDeviceDrmPropertiesEXTBuilder
pub fn has_primary(self, has_primary: bool) -> Self
pub fn has_render(self, has_render: bool) -> Self
pub fn primary_major(self, primary_major: i64) -> Self
pub fn primary_minor(self, primary_minor: i64) -> Self
pub fn render_major(self, render_major: i64) -> Self
pub fn render_minor(self, render_minor: i64) -> Self
pub fn build(self) -> PhysicalDeviceDrmPropertiesEXT
Trait Implementations§
source§impl Cast for PhysicalDeviceDrmPropertiesEXTBuilder
impl Cast for PhysicalDeviceDrmPropertiesEXTBuilder
§type Target = PhysicalDeviceDrmPropertiesEXT
type Target = PhysicalDeviceDrmPropertiesEXT
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceDrmPropertiesEXTBuilder
impl Clone for PhysicalDeviceDrmPropertiesEXTBuilder
source§fn clone(&self) -> PhysicalDeviceDrmPropertiesEXTBuilder
fn clone(&self) -> PhysicalDeviceDrmPropertiesEXTBuilder
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 Default for PhysicalDeviceDrmPropertiesEXTBuilder
impl Default for PhysicalDeviceDrmPropertiesEXTBuilder
source§fn default() -> PhysicalDeviceDrmPropertiesEXTBuilder
fn default() -> PhysicalDeviceDrmPropertiesEXTBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceDrmPropertiesEXTBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceDrmPropertiesEXTBuilder
impl !Send for PhysicalDeviceDrmPropertiesEXTBuilder
impl !Sync for PhysicalDeviceDrmPropertiesEXTBuilder
impl Unpin for PhysicalDeviceDrmPropertiesEXTBuilder
impl UnwindSafe for PhysicalDeviceDrmPropertiesEXTBuilder
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