Enum conrod::scroll::Y [] [src]

pub enum Y {}

Behaviour for scrolling across the Y axis.

Trait Implementations

impl PartialEq for Y
[src]

fn eq(&self, __arg_0: &Y) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for Y
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Y
[src]

fn clone(&self) -> Y

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Y
[src]

impl Axis for Y
[src]

fn parallel_range(rect: Rect) -> Range

The range of the given Rect that is parallel with this Axis.

fn perpendicular_range(rect: Rect) -> Range

The range of the given Rect that is perpendicular with this Axis.

fn padding_range(padding: Padding) -> Range

Given some rectangular Padding, return the Range that corresponds with this Axis.

fn mouse_scalar(mouse_xy: Point) -> Scalar

The coordinate of the given mouse position that corresponds with this Axis.

fn offset_direction() -> Scalar

A Scalar multiplier representing the direction in which positive offset shifts the scrollable_range (either -1.0 or `1.0). Read more