Struct vulkano::pipeline::graphics::rasterization::LineStipple
source · pub struct LineStipple {
pub factor: u32,
pub pattern: u16,
}
Expand description
The parameters of a stippled line.
Fields§
§factor: u32
The repeat factor used in stippled line rasterization. Must be between 1 and 256 inclusive.
pattern: u16
The bit pattern used in stippled line rasterization.
Trait Implementations§
source§impl Clone for LineStipple
impl Clone for LineStipple
source§fn clone(&self) -> LineStipple
fn clone(&self) -> LineStipple
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 Debug for LineStipple
impl Debug for LineStipple
impl Copy for LineStipple
Auto Trait Implementations§
impl RefUnwindSafe for LineStipple
impl Send for LineStipple
impl Sync for LineStipple
impl Unpin for LineStipple
impl UnwindSafe for LineStipple
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