This commit is contained in:
griffi-gh 2024-03-23 17:54:47 +01:00
parent 5ce9dda77b
commit d1e1325068

View file

@ -20,7 +20,7 @@ pub struct Frame {
layers: Vec<FrameLayer>
}
impl<T: Into<RectLayer>> From<T> for Frame {
impl<T: Into<FrameLayer>> From<T> for Frame {
fn from(layer: T) -> Self {
let mut frame = Self::default();
frame.add(layer.into());