chore(grid): remove unused Item struct
This commit is contained in:
parent
7ee1f545e1
commit
21cc4124f0
3 changed files with 3 additions and 21 deletions
|
|
@ -309,21 +309,3 @@ impl From<(u16, u16, u16, u16)> for Assignment {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub struct Item<'a, Message> {
|
||||
widget: Element<'a, Message>,
|
||||
assignment: Assignment,
|
||||
}
|
||||
|
||||
impl<'a, Message> Item<'a, Message> {
|
||||
pub fn width(mut self, width: u16) -> Self {
|
||||
self.assignment.width = width;
|
||||
self
|
||||
}
|
||||
|
||||
pub fn height(mut self, height: u16) -> Self {
|
||||
self.assignment.height = height;
|
||||
self
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue