Struct tiny_game_framework::Vector2D
source · pub struct Vector2D {
pub x: f32,
pub y: f32,
}
Fields§
§x: f32
§y: f32
Implementations§
Trait Implementations§
source§impl PartialEq for Vector2D
impl PartialEq for Vector2D
impl Copy for Vector2D
impl StructuralPartialEq for Vector2D
Auto Trait Implementations§
impl Freeze for Vector2D
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