pub struct MapProjection {
pub position: Vec2,
pub status: ProjectionStatus,
pub off_map: Option<OffMapIndicator>,
}Expand description
One projection, with no inferred ID, discovery or gameplay permission.
Fields§
§position: Vec2§status: ProjectionStatus§off_map: Option<OffMapIndicator>None exactly when status == Inside; otherwise the edge indicator.
Trait Implementations§
Source§impl Clone for MapProjection
impl Clone for MapProjection
Source§fn clone(&self) -> MapProjection
fn clone(&self) -> MapProjection
Returns a duplicate of the value. Read more
1.0.0 · 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 MapProjection
impl Debug for MapProjection
Source§impl PartialEq for MapProjection
impl PartialEq for MapProjection
impl Copy for MapProjection
impl StructuralPartialEq for MapProjection
Auto Trait Implementations§
impl Freeze for MapProjection
impl RefUnwindSafe for MapProjection
impl Send for MapProjection
impl Sync for MapProjection
impl Unpin for MapProjection
impl UnwindSafe for MapProjection
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