Struct vulkano::pipeline::viewport::Scissor [−][src]
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]
impl Scissor
pub fn irrelevant() -> Scissor
[src]
pub fn irrelevant() -> Scissor
Defines a scissor box that it outside of the image.
Trait Implementations
impl Debug for Scissor
[src]
impl Debug for Scissor
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Scissor
[src]
impl Copy for Scissor
impl Clone for Scissor
[src]
impl Clone for Scissor
fn clone(&self) -> Scissor
[src]
fn clone(&self) -> Scissor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Scissor
[src]
impl PartialEq for Scissor
fn eq(&self, other: &Scissor) -> bool
[src]
fn eq(&self, other: &Scissor) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Scissor) -> bool
[src]
fn ne(&self, other: &Scissor) -> bool
This method tests for !=
.
impl Eq for Scissor
[src]
impl Eq for Scissor
impl Default for Scissor
[src]
impl Default for Scissor