logo
pub struct Repeater<C: RepeatedComponent>(_);

Implementations

Call this function to make sure that the model is updated. The init function is the function to create a component

Same as Self::ensuer_updated but for a ListView

Sets the data directly in the model

Set the model binding

Call the visitor for each component

Return the amount of item currently in the component

Return the range of indices used by this Repeater.

Two values are necessary here since the Repeater can start to insert the data from its model at an offset.

Return true if the Repeater as empty

Returns a vector containing all components

Set the position of all the element in the listview

Returns the offset of the end of the last element

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.