pub struct Arrow {
pub tip: Point,
pub direction: Vector,
}Expand description
An arrow head: tip and unit direction pointing at the tip.
Fields§
§tip: PointTip position.
direction: VectorUnit direction of travel towards the tip.
Trait Implementations§
impl Copy for Arrow
Source§impl<'de> Deserialize<'de> for Arrow
impl<'de> Deserialize<'de> for Arrow
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
impl StructuralPartialEq for Arrow
Auto Trait Implementations§
impl Freeze for Arrow
impl RefUnwindSafe for Arrow
impl Send for Arrow
impl Sync for Arrow
impl Unpin for Arrow
impl UnsafeUnpin for Arrow
impl UnwindSafe for Arrow
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