mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Expose an iterator to interpreter::Struct
This commit is contained in:
parent
e16e2d8d4f
commit
e20dd384f5
2 changed files with 55 additions and 2 deletions
|
@ -88,3 +88,9 @@ impl<'a, T> core::ops::Deref for Slice<'a, T> {
|
|||
self.as_slice()
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, T> Default for Slice<'a, T> {
|
||||
fn default() -> Self {
|
||||
Self::from_slice(&[])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue