pub struct Vector2D {
pub u: f32,
pub v: f32,
}
Expand description
2D point struct used for shape’s surface parametrization
Fields§
§u: f32
§v: f32
Trait Implementations§
source§impl PartialEq for Vector2D
impl PartialEq for Vector2D
impl Copy for Vector2D
impl StructuralPartialEq for Vector2D
Auto Trait Implementations§
impl RefUnwindSafe for Vector2D
impl Send for Vector2D
impl Sync for Vector2D
impl Unpin for Vector2D
impl UnwindSafe for Vector2D
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