Checkpoint: Compiling after view type removal
This commit is contained in:
parent
c9c9db903d
commit
88ef74ec8f
44 changed files with 392 additions and 695 deletions
|
@ -14,18 +14,18 @@ pub trait Stack: Styled + Sized {
|
|||
}
|
||||
}
|
||||
|
||||
impl<S: 'static + Send + Sync> Stack for Div<S> {}
|
||||
impl<S: 'static> Stack for Div<S> {}
|
||||
|
||||
/// Horizontally stacks elements.
|
||||
///
|
||||
/// Sets `flex()`, `flex_row()`, `items_center()`
|
||||
pub fn h_stack<S: 'static + Send + Sync>() -> Div<S> {
|
||||
pub fn h_stack<S: 'static>() -> Div<S> {
|
||||
div().h_stack()
|
||||
}
|
||||
|
||||
/// Vertically stacks elements.
|
||||
///
|
||||
/// Sets `flex()`, `flex_col()`
|
||||
pub fn v_stack<S: 'static + Send + Sync>() -> Div<S> {
|
||||
pub fn v_stack<S: 'static>() -> Div<S> {
|
||||
div().v_stack()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue