pub struct Point2f {
pub x: Float,
pub y: Float,
}
Fields§
§x: Float
§y: Float
Implementations§
Trait Implementations§
source§impl MulAssign<f32> for Point2f
impl MulAssign<f32> for Point2f
source§fn mul_assign(&mut self, rhs: Float)
fn mul_assign(&mut self, rhs: Float)
Performs the
*=
operation. Read moreimpl Copy for Point2f
Auto Trait Implementations§
impl RefUnwindSafe for Point2f
impl Send for Point2f
impl Sync for Point2f
impl Unpin for Point2f
impl UnwindSafe for Point2f
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
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.