Struct webrender_api::StickyOffsetBounds 
                   
                       [−]
                   
               [src]
#[repr(C)]pub struct StickyOffsetBounds { pub min: f32, pub max: f32, }
The minimum and maximum allowable offset for a sticky frame in a single dimension.
Fields
min: f32
                           The minimum offset for this frame, typically a negative value, which specifies how far in the negative direction the sticky frame can offset its contents in this dimension.
max: f32
                           The maximum offset for this frame, typically a positive value, which specifies how far in the positive direction the sticky frame can offset its contents in this dimension.
Methods
impl StickyOffsetBounds[src]
pub fn new(min: f32, max: f32) -> StickyOffsetBounds[src]
Trait Implementations
impl Clone for StickyOffsetBounds[src]
fn clone(&self) -> StickyOffsetBounds[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 StickyOffsetBounds[src]
impl Debug for StickyOffsetBounds[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for StickyOffsetBounds[src]
fn eq(&self, __arg_0: &StickyOffsetBounds) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &StickyOffsetBounds) -> bool[src]
This method tests for !=.