Struct vulkano::pipeline::viewport::Scissor
[−]
[src]
pub struct Scissor { pub origin: [i32; 2], pub dimensions: [u32; 2], }
State of a single scissor box.
Fields
origin: [i32; 2]
Coordinates in pixels of the top-left hand corner of the box.
dimensions: [u32; 2]
Dimensions in pixels of the box.
Methods
impl Scissor
[src]
fn irrelevant() -> Scissor
Defines a scissor box that it outside of the image.
Trait Implementations
impl Debug for Scissor
[src]
impl Copy for Scissor
[src]
impl Clone for Scissor
[src]
fn clone(&self) -> Scissor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more