#[repr(C)]pub struct PhysicalDeviceLineRasterizationFeatures<'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> PhysicalDeviceLineRasterizationFeatures<'a>
impl<'a> PhysicalDeviceLineRasterizationFeatures<'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 PhysicalDeviceLineRasterizationFeatures<'a>
impl<'a> Clone for PhysicalDeviceLineRasterizationFeatures<'a>
Source§fn clone(&self) -> PhysicalDeviceLineRasterizationFeatures<'a>
fn clone(&self) -> PhysicalDeviceLineRasterizationFeatures<'a>
Returns a duplicate 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 PhysicalDeviceLineRasterizationFeatures<'a>
impl<'a> Debug for PhysicalDeviceLineRasterizationFeatures<'a>
Source§impl Default for PhysicalDeviceLineRasterizationFeatures<'_>
impl Default for PhysicalDeviceLineRasterizationFeatures<'_>
Source§impl<'a> TaggedStructure for PhysicalDeviceLineRasterizationFeatures<'a>
impl<'a> TaggedStructure for PhysicalDeviceLineRasterizationFeatures<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES
impl<'a> Copy for PhysicalDeviceLineRasterizationFeatures<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceLineRasterizationFeatures<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceLineRasterizationFeatures<'_>
impl Send for PhysicalDeviceLineRasterizationFeatures<'_>
impl Sync for PhysicalDeviceLineRasterizationFeatures<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceLineRasterizationFeatures<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceLineRasterizationFeatures<'a>
impl<'a> Unpin for PhysicalDeviceLineRasterizationFeatures<'a>
impl<'a> UnwindSafe for PhysicalDeviceLineRasterizationFeatures<'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