Struct webrender_api::ComplexClipRegion
[−]
[src]
#[repr(C)]pub struct ComplexClipRegion { pub rect: LayoutRect, pub radii: BorderRadius, pub mode: ClipMode, }
Fields
rect: LayoutRect
The boundaries of the rectangle.
radii: BorderRadius
Border radii of this rectangle.
mode: ClipMode
Whether we are clipping inside or outside the region.
Methods
impl ComplexClipRegion
[src]
pub fn new(rect: LayoutRect, radii: BorderRadius, mode: ClipMode) -> Self
[src]
Create a new complex clip region.
Trait Implementations
impl Clone for ComplexClipRegion
[src]
fn clone(&self) -> ComplexClipRegion
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ComplexClipRegion
[src]
impl Debug for ComplexClipRegion
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ComplexClipRegion
[src]
fn eq(&self, __arg_0: &ComplexClipRegion) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ComplexClipRegion) -> bool
[src]
This method tests for !=
.