Skip to main content

Each

Struct Each 

Source
pub struct Each<S, F> { /* private fields */ }

Trait Implementations§

Source§

impl<S, F, W> Content for Each<S, F>
where S: Source, F: FnMut(S::Row) -> W + 'static, W: Widget,

Source§

fn validate(&self, scope: &Scope) -> Result<()>

Source§

impl<S, F, W> Widget for Each<S, F>
where S: Source, F: FnMut(<S as Source>::Row) -> W + 'static, W: Widget,

Source§

fn build(&mut self, scope: &Scope) -> Result<(), Error>

Source§

fn mount(self, parent: &Scope) -> Result<Mounted, Error>
where Self: Sized,

Source§

fn show_in(self, parent: &Scope) -> Result<(), Error>
where Self: Sized,

Auto Trait Implementations§

§

impl<S, F> Freeze for Each<S, F>
where Option<S>: Freeze, Option<F>: Freeze,

§

impl<S, F> RefUnwindSafe for Each<S, F>

§

impl<S, F> Send for Each<S, F>
where Option<S>: Send, Option<F>: Send,

§

impl<S, F> Sync for Each<S, F>
where Option<S>: Sync, Option<F>: Sync,

§

impl<S, F> Unpin for Each<S, F>
where Option<S>: Unpin, Option<F>: Unpin,

§

impl<S, F> UnsafeUnpin for Each<S, F>

§

impl<S, F> UnwindSafe for Each<S, F>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<W> IntoChildren for W
where W: Widget,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.