Struct webrender_api::ComplexClipRegion [] [src]

#[repr(C)]
pub struct ComplexClipRegion { pub rect: LayoutRect, pub radii: BorderRadius, pub mode: ClipMode, }

Fields

The boundaries of the rectangle.

Border radii of this rectangle.

Whether we are clipping inside or outside the region.

Methods

impl ComplexClipRegion
[src]

[src]

Create a new complex clip region.

Trait Implementations

impl Clone for ComplexClipRegion
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ComplexClipRegion
[src]

impl Debug for ComplexClipRegion
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ComplexClipRegion
[src]

[src]

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

[src]

This method tests for !=.