[][src]Struct luminance::scissor::ScissorRegion

pub struct ScissorRegion {
    pub x: u32,
    pub y: u32,
    pub width: u32,
    pub height: u32,
}

The region outside of which fragments will be discarded.

Fields

x: u32

The x screen position of the scissor region.

y: u32

The y screen position of the scissor region.

width: u32

The screen width of the scissor region.

height: u32

The screen height of the scissor region.

Trait Implementations

impl Clone for ScissorRegion[src]

impl Copy for ScissorRegion[src]

impl Debug for ScissorRegion[src]

impl Eq for ScissorRegion[src]

impl PartialEq<ScissorRegion> for ScissorRegion[src]

impl StructuralEq for ScissorRegion[src]

impl StructuralPartialEq for ScissorRegion[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.