Enum conrod::scroll::X
[−]
[src]
pub enum X {}
Behaviour for scrolling across the X
axis.
Trait Implementations
impl PartialEq for X
[src]
fn eq(&self, __arg_0: &X) -> 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 X
[src]
impl Clone for X
[src]
fn clone(&self) -> X
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 X
[src]
impl Axis for X
[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