Implement Default for container::Style
This commit is contained in:
parent
1a0effa961
commit
07ef59af78
2 changed files with 13 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ pub struct Style {
|
|||
|
||||
impl std::default::Default for Style {
|
||||
fn default() -> Self {
|
||||
Style {
|
||||
Self {
|
||||
shadow_offset: Vector::default(),
|
||||
background: None,
|
||||
border_radius: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue