Struct voodoo::DisplayPropertiesKhr
[−]
[src]
#[repr(C)]pub struct DisplayPropertiesKhr<'s> { /* fields omitted */ }
A VkDisplayPropertiesKHR
.
Methods
impl<'s> DisplayPropertiesKhr<'s>
[src]
pub fn builder<'b>() -> DisplayPropertiesKhrBuilder<'b>
[src]
pub unsafe fn from_raw(raw: VkDisplayPropertiesKHR) -> DisplayPropertiesKhr<'s>
[src]
pub fn display<'a>(&'a self) -> VkDisplayKHR
[src]
pub fn display_name<'a>(&'a self) -> &'a CStr
[src]
pub fn physical_dimensions<'a>(&'a self) -> &'a Extent2d
[src]
pub fn physical_dimensions_mut<'a>(&'a mut self) -> &'a mut Extent2d
[src]
pub fn physical_resolution<'a>(&'a self) -> &'a Extent2d
[src]
pub fn physical_resolution_mut<'a>(&'a mut self) -> &'a mut Extent2d
[src]
pub fn supported_transforms<'a>(&'a self) -> SurfaceTransformFlagsKhr
[src]
pub fn plane_reorder_possible<'a>(&'a self) -> bool
[src]
pub fn persistent_content<'a>(&'a self) -> bool
[src]
pub fn set_display<'m, H>(&mut self, display: H) where
H: Handle<Target = DisplayKhrHandle>,
[src]
H: Handle<Target = DisplayKhrHandle>,
pub fn set_display_name<'m, 'a>(&mut self, display_name: &'a CStr) where
'a: 's,
[src]
'a: 's,
pub fn set_physical_dimensions<'m>(&mut self, physical_dimensions: Extent2d)
[src]
pub fn set_physical_resolution<'m>(&mut self, physical_resolution: Extent2d)
[src]
pub fn set_supported_transforms<'m>(
&mut self,
supported_transforms: SurfaceTransformFlagsKhr
)
[src]
&mut self,
supported_transforms: SurfaceTransformFlagsKhr
)
pub fn set_plane_reorder_possible<'m>(&mut self, plane_reorder_possible: bool)
[src]
pub fn set_persistent_content<'m>(&mut self, persistent_content: bool)
[src]
pub fn as_raw(&self) -> &VkDisplayPropertiesKHR
[src]
Trait Implementations
impl<'s> Debug for DisplayPropertiesKhr<'s>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'s> Clone for DisplayPropertiesKhr<'s>
[src]
fn clone(&self) -> DisplayPropertiesKhr<'s>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'s> Default for DisplayPropertiesKhr<'s>
[src]
fn default() -> DisplayPropertiesKhr<'s>
[src]
Returns the "default value" for a type. Read more
impl<'s> From<DisplayPropertiesKhr<'s>> for VkDisplayPropertiesKHR
[src]
fn from(f: DisplayPropertiesKhr<'s>) -> VkDisplayPropertiesKHR
[src]
Performs the conversion.