pub struct Look {
pub tiles: BTreeMap<TerrainId, ImageRect>,
pub layers: Vec<Layer>,
}Expand description
A terrain look: how one kind of place (outdoors, indoors) is drawn.
Fields§
§tiles: BTreeMap<TerrainId, ImageRect>Each terrain’s own tile, painted first.
layers: Vec<Layer>What is painted over the tiles, the first undermost.
Trait Implementations§
impl Eq for Look
impl StructuralPartialEq for Look
Auto Trait Implementations§
impl Freeze for Look
impl RefUnwindSafe for Look
impl Send for Look
impl Sync for Look
impl Unpin for Look
impl UnsafeUnpin for Look
impl UnwindSafe for Look
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