pub struct PsionicMatrix {
pub pos: Point2,
pub radius: f32,
pub tag: u64,
}
Expand description
Power matrix from the pylon or warp prism, used to give power to buildings and warp units on it.
Fields§
§pos: Point2
Position of psionic matrix source.
radius: f32
Radius of the matrix: shold be 6.5
for pylon and 3.75
for warp prism in phsing mode.
tag: u64
Tag of unit that is source of power matrix.
Trait Implementations§
Source§impl Clone for PsionicMatrix
impl Clone for PsionicMatrix
Source§fn clone(&self) -> PsionicMatrix
fn clone(&self) -> PsionicMatrix
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for PsionicMatrix
impl RefUnwindSafe for PsionicMatrix
impl Send for PsionicMatrix
impl Sync for PsionicMatrix
impl Unpin for PsionicMatrix
impl UnwindSafe for PsionicMatrix
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