chore(grid): remove unused Item struct

This commit is contained in:
Michael Aaron Murphy 2023-10-12 13:15:09 +02:00 committed by Michael Murphy
parent 7ee1f545e1
commit 21cc4124f0
3 changed files with 3 additions and 21 deletions

View file

@ -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
}
}