fix cargo fmt
This commit is contained in:
parent
bab9e7d847
commit
caff6a175d
|
@ -3,9 +3,9 @@ use std::sync::RwLock;
|
||||||
use cacao::uikit::{App, AppDelegate, Scene, SceneConfig, SceneConnectionOptions, SceneSession, Window, WindowSceneDelegate};
|
use cacao::uikit::{App, AppDelegate, Scene, SceneConfig, SceneConnectionOptions, SceneSession, Window, WindowSceneDelegate};
|
||||||
|
|
||||||
use cacao::color::Color;
|
use cacao::color::Color;
|
||||||
|
use cacao::image::{Image, ImageView};
|
||||||
use cacao::layout::{Layout, LayoutConstraint};
|
use cacao::layout::{Layout, LayoutConstraint};
|
||||||
use cacao::view::{View, ViewController, ViewDelegate};
|
use cacao::view::{View, ViewController, ViewDelegate};
|
||||||
use cacao::image::{ImageView, Image};
|
|
||||||
|
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
||||||
struct TestApp;
|
struct TestApp;
|
||||||
|
@ -21,7 +21,7 @@ pub struct RootView {
|
||||||
pub red: View,
|
pub red: View,
|
||||||
pub green: View,
|
pub green: View,
|
||||||
pub blue: View,
|
pub blue: View,
|
||||||
pub image: ImageView,
|
pub image: ImageView
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ViewDelegate for RootView {
|
impl ViewDelegate for RootView {
|
||||||
|
|
Loading…
Reference in a new issue