Enum nannou::ui::prelude::widget::list::Right [−][src]
pub enum Right {}
Items flow from left to right.
Trait Implementations
impl Clone for Right
[src]
impl Clone for Right
fn clone(&self) -> Right
[src]
fn clone(&self) -> Right
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Right
[src]
impl Debug for Right
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Direction for Right
[src]
impl Direction for Right
fn key_direction(key: Key) -> Option<ListDirection>
[src]
fn key_direction(key: Key) -> Option<ListDirection>
Maps a given key
to a direction along the list.
impl Direction for Right
[src]
impl Direction for Right
type Axis = X
The direction along which the Scrollbar
is laid out.
fn ranges(Rect) -> (Range, Range)
[src]
fn ranges(Rect) -> (Range, Range)
For some given Rect
, returns the parallel and perpendicular ranges respectively.
fn scrollbar(id: NodeIndex<u32>) -> Scrollbar<<Right as Direction>::Axis>
[src]
fn scrollbar(id: NodeIndex<u32>) -> Scrollbar<<Right as Direction>::Axis>
Begin building the scrollbar for the List
.
fn common_scroll(common: &CommonBuilder) -> Option<&Scroll>
[src]
fn common_scroll(common: &CommonBuilder) -> Option<&Scroll>
Borrow the scroll state associated with this Direction
's axis.
fn scroll_list_kids<S>(list: List<Right, S>) -> List<Right, S> where
S: ItemSize,
Right: Sized,
[src]
fn scroll_list_kids<S>(list: List<Right, S>) -> List<Right, S> where
S: ItemSize,
Right: Sized,
Calls the suitable scroll_kids_<axis>
method on the List
.
fn position_item<W>(
widget: W,
last_id: Option<NodeIndex<u32>>,
scroll_trigger_id: NodeIndex<u32>,
first_item_margin: f64
) -> W where
W: Widget,
[src]
fn position_item<W>(
widget: W,
last_id: Option<NodeIndex<u32>>,
scroll_trigger_id: NodeIndex<u32>,
first_item_margin: f64
) -> W where
W: Widget,
Positions the given widget.
fn position_scroll_trigger<W>(scroll_trigger: W, list: NodeIndex<u32>) -> W where
W: Widget,
[src]
fn position_scroll_trigger<W>(scroll_trigger: W, list: NodeIndex<u32>) -> W where
W: Widget,
Position the Rectangle
used for scrolling List
s with fixed Item
sizes.
fn size_breadth<W>(widget: W, breadth: f64) -> W where
W: Widget,
[src]
fn size_breadth<W>(widget: W, breadth: f64) -> W where
W: Widget,
Size the widget given its breadth.
fn size_length<W>(widget: W, length: f64) -> W where
W: Widget,
[src]
fn size_length<W>(widget: W, length: f64) -> W where
W: Widget,
Size the widget given its length.
impl Copy for Right
[src]
impl Copy for Right