#[repr(C)]pub struct PhysicalDeviceLineRasterizationFeaturesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub rectangular_lines: Bool32,
pub bresenham_lines: Bool32,
pub smooth_lines: Bool32,
pub stippled_rectangular_lines: Bool32,
pub stippled_bresenham_lines: Bool32,
pub stippled_smooth_lines: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§rectangular_lines: Bool32
§bresenham_lines: Bool32
§smooth_lines: Bool32
§stippled_rectangular_lines: Bool32
§stippled_bresenham_lines: Bool32
§stippled_smooth_lines: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceLineRasterizationFeaturesKHR<'a>
impl<'a> PhysicalDeviceLineRasterizationFeaturesKHR<'a>
pub fn rectangular_lines(self, rectangular_lines: bool) -> Self
pub fn bresenham_lines(self, bresenham_lines: bool) -> Self
pub fn smooth_lines(self, smooth_lines: bool) -> Self
pub fn stippled_rectangular_lines( self, stippled_rectangular_lines: bool, ) -> Self
pub fn stippled_bresenham_lines(self, stippled_bresenham_lines: bool) -> Self
pub fn stippled_smooth_lines(self, stippled_smooth_lines: bool) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceLineRasterizationFeaturesKHR<'a>
impl<'a> Clone for PhysicalDeviceLineRasterizationFeaturesKHR<'a>
source§fn clone(&self) -> PhysicalDeviceLineRasterizationFeaturesKHR<'a>
fn clone(&self) -> PhysicalDeviceLineRasterizationFeaturesKHR<'a>
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<'a> Debug for PhysicalDeviceLineRasterizationFeaturesKHR<'a>
impl<'a> Debug for PhysicalDeviceLineRasterizationFeaturesKHR<'a>
source§impl Default for PhysicalDeviceLineRasterizationFeaturesKHR<'_>
impl Default for PhysicalDeviceLineRasterizationFeaturesKHR<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceLineRasterizationFeaturesKHR<'a>
impl<'a> TaggedStructure for PhysicalDeviceLineRasterizationFeaturesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_KHR
impl<'a> Copy for PhysicalDeviceLineRasterizationFeaturesKHR<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceLineRasterizationFeaturesKHR<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceLineRasterizationFeaturesKHR<'_>
impl Send for PhysicalDeviceLineRasterizationFeaturesKHR<'_>
impl Sync for PhysicalDeviceLineRasterizationFeaturesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceLineRasterizationFeaturesKHR<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceLineRasterizationFeaturesKHR<'a>
impl<'a> Unpin for PhysicalDeviceLineRasterizationFeaturesKHR<'a>
impl<'a> UnwindSafe for PhysicalDeviceLineRasterizationFeaturesKHR<'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