pub struct WorldViewOptions {
pub paint_local_player: bool,
pub paint_overlays: bool,
}Expand description
Presentation flags for WorldView::build_with_options.
Fields§
§paint_local_player: boolPaint local player @ at view center (TUI). Gfx uses a sprite instead.
paint_overlays: boolPaint NPCs, resources, loot, chests, quest boards, entities into the cell grid. Gfx sets this false and draws those at continuous world coordinates.
Implementations§
Source§impl WorldViewOptions
impl WorldViewOptions
Sourcepub fn terrain_only() -> Self
pub fn terrain_only() -> Self
Terrain / walls only — gfx draws movers at precise x,y.
Trait Implementations§
Source§impl Clone for WorldViewOptions
impl Clone for WorldViewOptions
Source§fn clone(&self) -> WorldViewOptions
fn clone(&self) -> WorldViewOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WorldViewOptions
Source§impl Debug for WorldViewOptions
impl Debug for WorldViewOptions
Auto Trait Implementations§
impl Freeze for WorldViewOptions
impl RefUnwindSafe for WorldViewOptions
impl Send for WorldViewOptions
impl Sync for WorldViewOptions
impl Unpin for WorldViewOptions
impl UnsafeUnpin for WorldViewOptions
impl UnwindSafe for WorldViewOptions
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