savory-elements 0.6.0

Collection of UI elements based on Savory
1
2
3
4
5
6
7
8
9
10
//! Helper traits, used internally.

/// Similar to `Extend` in standard library for builder like types.
///
/// used mostly with views that containes multiple items such as `Flex`
pub trait ExtendBuilder<A> {
    fn extend<T>(self, iter: T) -> Self
    where
        T: IntoIterator<Item = A>;
}