Struct vulkano::pipeline::viewport::Scissor [] [src]

pub struct Scissor {
    pub origin: [i32; 2],
    pub dimensions: [u32; 2],
}

State of a single scissor box.

Fields

Coordinates in pixels of the top-left hand corner of the box.

Dimensions in pixels of the box.

Methods

impl Scissor
[src]

Defines a scissor box that it outside of the image.

Trait Implementations

impl Debug for Scissor
[src]

Formats the value using the given formatter.

impl Copy for Scissor
[src]

impl Clone for Scissor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Scissor
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Scissor
[src]

impl Default for Scissor
[src]

Returns the "default value" for a type. Read more