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

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.

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]

[src]

Trait Implementations

impl Clone for StickyOffsetBounds
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StickyOffsetBounds
[src]

impl Debug for StickyOffsetBounds
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for StickyOffsetBounds
[src]

[src]

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

[src]

This method tests for !=.