pub struct Layout {
pub file: String,
pub size: [f32; 2],
pub image: Option<String>,
pub scale: u32,
pub spots: Vec<Spot>,
}Fields§
§file: StringThe .yui it’s laid out in; empty for a built-in layout.
size: [f32; 2]§image: Option<String>The picture, SCALE× GUI pixels, data:image/png;base64,….
scale: u32§spots: Vec<Spot>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more