Expand description
State of a single scissor box.
Fields
origin: [u32; 2]
Coordinates in pixels of the top-left hand corner of the box.
dimensions: [u32; 2]
Dimensions in pixels of the box.
Implementations
Returns a scissor that, when used, will instruct the pipeline to draw to the entire framebuffer no matter its size.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Scissor
impl UnwindSafe for Scissor
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.