pub struct OffMapIndicator {
pub position: Vec2,
pub direction: Vec2,
}Expand description
Boundary marker for an outside point, regardless of projection policy.
Fields§
§position: Vec2Intersection of the center-to-point ray with the rotated world boundary; this is not necessarily an edge of the axis-aligned panel.
direction: Vec2Unit screen direction from map center toward the outside point.
Trait Implementations§
Source§impl Clone for OffMapIndicator
impl Clone for OffMapIndicator
Source§fn clone(&self) -> OffMapIndicator
fn clone(&self) -> OffMapIndicator
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 OffMapIndicator
impl Debug for OffMapIndicator
Source§impl PartialEq for OffMapIndicator
impl PartialEq for OffMapIndicator
impl Copy for OffMapIndicator
impl StructuralPartialEq for OffMapIndicator
Auto Trait Implementations§
impl Freeze for OffMapIndicator
impl RefUnwindSafe for OffMapIndicator
impl Send for OffMapIndicator
impl Sync for OffMapIndicator
impl Unpin for OffMapIndicator
impl UnwindSafe for OffMapIndicator
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