pub struct SetViewScissorArgs {
    pub x: u16,
    pub y: u16,
    pub width: u16,
    pub height: u16,
}

Fields

x: u16

Position x from the left corner of the window.

y: u16

Position y from the top corner of the window.

width: u16

Width of view scissor region.

height: u16

Height of view scissor region.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.