Struct conrod::widget::list::Fixed [−][src]
pub struct Fixed { pub length: Scalar, }
A type that implements ItemSize
for List
s whose Item
s are a fixed size and known prior to
setting the widgets for each item.
Fields
length: Scalar
The length of each item in the direction that the list flows.
Trait Implementations
impl Clone for Fixed
[src]
impl Clone for Fixed
fn clone(&self) -> Fixed
[src]
fn clone(&self) -> Fixed
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 Copy for Fixed
[src]
impl Copy for Fixed
impl Debug for Fixed
[src]
impl Debug for Fixed
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ItemSize for Fixed
[src]
impl ItemSize for Fixed
fn update_list<D>(
list: List<D, Self>,
args: UpdateArgs<List<D, Self>>
) -> <List<D, Self> as Widget>::Event where
D: Direction,
[src]
fn update_list<D>(
list: List<D, Self>,
args: UpdateArgs<List<D, Self>>
) -> <List<D, Self> as Widget>::Event where
D: Direction,
Update the List
widget.
fn size_item<W, D>(&self, widget: W, breadth: Scalar) -> W where
W: Widget,
D: Direction,
[src]
fn size_item<W, D>(&self, widget: W, breadth: Scalar) -> W where
W: Widget,
D: Direction,
Set the size for the given item widget
and return it.