pub struct RangeLayer {
pub kind: RangeName,
pub tiles: Vec<Pos>,
}Expand description
A range shown on the map: its kind, and the visible tiles in it in the order given.
Fields§
§kind: RangeNameWhich range.
tiles: Vec<Pos>Its visible tiles.
Trait Implementations§
Source§impl Clone for RangeLayer
impl Clone for RangeLayer
Source§fn clone(&self) -> RangeLayer
fn clone(&self) -> RangeLayer
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 moreSource§impl Debug for RangeLayer
impl Debug for RangeLayer
impl Eq for RangeLayer
Source§impl PartialEq for RangeLayer
impl PartialEq for RangeLayer
impl StructuralPartialEq for RangeLayer
Auto Trait Implementations§
impl Freeze for RangeLayer
impl RefUnwindSafe for RangeLayer
impl Send for RangeLayer
impl Sync for RangeLayer
impl Unpin for RangeLayer
impl UnsafeUnpin for RangeLayer
impl UnwindSafe for RangeLayer
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