[][src]Trait iced_native::widget::row::Renderer

pub trait Renderer: Renderer + Sized {
    fn draw<Message>(
        &mut self,
        children: &[Element<Message, Self>],
        layout: Layout,
        cursor_position: Point
    ) -> Self::Output; }

The renderer of a Row.

Your renderer will need to implement this trait before being able to use a Row in your user interface.

Required methods

fn draw<Message>(
    &mut self,
    children: &[Element<Message, Self>],
    layout: Layout,
    cursor_position: Point
) -> Self::Output

Draws a Row.

It receives:

  • the children of the Row
  • the Layout of the Row and its children
  • the cursor position
Loading content...

Implementors

impl Renderer for Null[src]

Loading content...