Struct webrender_api::BorderRadius 
                   
                       [−]
                   
               [src]
#[repr(C)]pub struct BorderRadius { pub top_left: LayoutSize, pub top_right: LayoutSize, pub bottom_left: LayoutSize, pub bottom_right: LayoutSize, }
Fields
top_left: LayoutSize
                           
                           
                           
                           top_right: LayoutSize
                           
                           
                           
                           bottom_left: LayoutSize
                           
                           
                           
                           bottom_right: LayoutSize
                           
                    Methods
impl BorderRadius[src]
pub fn zero() -> BorderRadius[src]
pub fn uniform(radius: f32) -> BorderRadius[src]
pub fn uniform_size(radius: LayoutSize) -> BorderRadius[src]
pub fn is_uniform(&self) -> Option<f32>[src]
pub fn is_uniform_size(&self) -> Option<LayoutSize>[src]
pub fn is_zero(&self) -> bool[src]
Trait Implementations
impl Clone for BorderRadius[src]
fn clone(&self) -> BorderRadius[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 BorderRadius[src]
impl Debug for BorderRadius[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for BorderRadius[src]
fn eq(&self, __arg_0: &BorderRadius) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &BorderRadius) -> bool[src]
This method tests for !=.