mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-12-22 12:28:19 -06:00
fvck
This commit is contained in:
parent
5ce9dda77b
commit
d1e1325068
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue