pub struct PhantomPosition {
pub x: f64,
pub y: f64,
}Expand description
Position of a phantom in the cluster’s coordinate space.
Fields§
§x: f64X coordinate (horizontal).
y: f64Y coordinate (vertical).
Implementations§
Trait Implementations§
Source§impl Clone for PhantomPosition
impl Clone for PhantomPosition
Source§fn clone(&self) -> PhantomPosition
fn clone(&self) -> PhantomPosition
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 PhantomPosition
impl Debug for PhantomPosition
Source§impl<'de> Deserialize<'de> for PhantomPosition
impl<'de> Deserialize<'de> for PhantomPosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PhantomPosition
impl PartialEq for PhantomPosition
Source§impl Serialize for PhantomPosition
impl Serialize for PhantomPosition
impl Copy for PhantomPosition
impl StructuralPartialEq for PhantomPosition
Auto Trait Implementations§
impl Freeze for PhantomPosition
impl RefUnwindSafe for PhantomPosition
impl Send for PhantomPosition
impl Sync for PhantomPosition
impl Unpin for PhantomPosition
impl UnsafeUnpin for PhantomPosition
impl UnwindSafe for PhantomPosition
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