[−][src]Struct seed_style_preview::Layout
Fields
areas: Vec<A>
layout: Vec<Vec<A>>
container_styles: Option<Style>
area_styles: HashMap<A, Vec<Style>>
Implementations
impl<A> Layout<A> where
A: LayoutArea,
[src]
A: LayoutArea,
pub fn style(self, style: Style) -> Self
[src]
pub fn area_style(self, area: A, style: Style) -> Self
[src]
pub fn areas(layout_array: &[&[A]]) -> Self
[src]
Trait Implementations
impl<A: Clone> Clone for Layout<A> where
A: LayoutArea,
[src]
A: LayoutArea,
impl<A: Default> Default for Layout<A> where
A: LayoutArea,
[src]
A: LayoutArea,
impl WithGridLayout for Layout<NoArea>
[src]
Auto Trait Implementations
impl<A> !RefUnwindSafe for Layout<A>
impl<A> Send for Layout<A> where
A: Send,
A: Send,
impl<A> Sync for Layout<A> where
A: Sync,
A: Sync,
impl<A> Unpin for Layout<A> where
A: Unpin,
A: Unpin,
impl<A> !UnwindSafe for Layout<A>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,
impl<T> CloneAny for T where
T: Clone + Any,
[src]
T: Clone + Any,
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,