#[repr(C)]pub struct PLYPoint {
pub x: PLYDimension,
pub y: PLYDimension,
}Expand description
A structure that contains a point in a two-dimensional coordinate system.
Fields§
§x: PLYDimensionThe x-coordinate of the point.
y: PLYDimensionThe y-coordinate of the point.
Implementations§
Source§impl PLYPoint
impl PLYPoint
Sourcepub fn new(x: PLYDimension, y: PLYDimension) -> PLYPoint
pub fn new(x: PLYDimension, y: PLYDimension) -> PLYPoint
Returns a point with the specified coordinates.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PLYPoint
impl RefUnwindSafe for PLYPoint
impl Send for PLYPoint
impl Sync for PLYPoint
impl Unpin for PLYPoint
impl UnsafeUnpin for PLYPoint
impl UnwindSafe for PLYPoint
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