Enum conrod::widget::list::Down
[−]
[src]
pub enum Down {}
Items flow from top to bottom.
Trait Implementations
impl Clone for Down
[src]
fn clone(&self) -> Down
[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 Down
[src]
impl Debug for Down
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Direction for Down
[src]
type Axis = Y
The direction along which the Scrollbar
is laid out.
fn ranges(Rect { x: x, y: y }: Rect) -> (Range, Range)
[src]
For some given Rect
, returns the parallel and perpendicular ranges respectively.
fn scrollbar(id: Id) -> Scrollbar<Self::Axis>
[src]
Begin building the scrollbar for the List
.
fn common_scroll(common: &CommonBuilder) -> Option<&Scroll>
[src]
Borrow the scroll state associated with this Direction
's axis.
fn scroll_list_kids<S>(list: List<Self, S>) -> List<Self, S> where
Self: Sized,
S: ItemSize,
[src]
Self: Sized,
S: ItemSize,
Calls the suitable scroll_kids_<axis>
method on the List
.
fn position_item<W>(
widget: W,
last_id: Option<Id>,
scroll_trigger_id: Id,
first_item_margin: Scalar
) -> W where
W: Widget,
[src]
widget: W,
last_id: Option<Id>,
scroll_trigger_id: Id,
first_item_margin: Scalar
) -> W where
W: Widget,
Positions the given widget.
fn position_scroll_trigger<W>(scroll_trigger: W, list: Id) -> W where
W: Widget,
[src]
W: Widget,
Position the Rectangle
used for scrolling List
s with fixed Item
sizes.
fn size_breadth<W>(widget: W, breadth: Scalar) -> W where
W: Widget,
[src]
W: Widget,
Size the widget given its breadth.
fn size_length<W>(widget: W, length: Scalar) -> W where
W: Widget,
[src]
W: Widget,
Size the widget given its length.
impl Direction for Down
[src]
fn key_direction(key: Key) -> Option<ListDirection>
[src]
Maps a given key
to a direction along the list.