Struct embedded_layout::prelude::Views [−][src]
pub struct Views<'a, T> where
T: View, { /* fields omitted */ }Expand description
Wrapper that implements ViewGroup for a slice of views.
Implementations
Wraps the given slice.
Trait Implementations
Returns a shared reference the View object at position idx.
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Views<'a, T> where
T: RefUnwindSafe, impl<'a, T> !UnwindSafe for Views<'a, T>Blanket Implementations
pub fn align_to<H, V>(Self, &impl View, H, V) -> T where
H: HorizontalAlignment,
V: VerticalAlignment,
pub fn align_to<H, V>(Self, &impl View, H, V) -> T where
H: HorizontalAlignment,
V: VerticalAlignment, Return the object aligned to an other one using the alignment parameters as rules
pub fn align_to_mut<H, V>(&mut Self, &impl View, H, V) -> &mut T where
H: HorizontalAlignment,
V: VerticalAlignment,
pub fn align_to_mut<H, V>(&mut Self, &impl View, H, V) -> &mut T where
H: HorizontalAlignment,
V: VerticalAlignment, Align the object to an other one using the alignment parameters as rules
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
Casts the value.
Casts the value.