Struct freya_engine::prelude::Point
source · #[repr(C)]pub struct Point {
pub x: f32,
pub y: f32,
}
Fields§
§x: f32
§y: f32
Implementations§
Trait Implementations§
source§impl DivAssign<f32> for Point
impl DivAssign<f32> for Point
source§fn div_assign(&mut self, rhs: f32)
fn div_assign(&mut self, rhs: f32)
Performs the
/=
operation. Read moresource§impl MulAssign<f32> for Point
impl MulAssign<f32> for Point
source§fn mul_assign(&mut self, rhs: f32)
fn mul_assign(&mut self, rhs: f32)
Performs the
*=
operation. Read moresource§impl PartialEq<Point> for Point
impl PartialEq<Point> for Point
impl Copy for Point
impl StructuralPartialEq for Point
Auto Trait Implementations§
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
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