pub struct Point3<T> {
pub x: T,
pub y: T,
pub z: T,
}
Expand description
Generic type for any 3D point.
Fields§
§x: T
The x coordinate of this point.
y: T
The y coordinate of this point.
z: T
The z coordinate of this point.
Implementations§
Source§impl<T> Point3<T>where
T: Number,
impl<T> Point3<T>where
T: Number,
Trait Implementations§
impl<T: Copy> Copy for Point3<T>
impl<T> StructuralPartialEq for Point3<T>
Auto Trait Implementations§
impl<T> Freeze for Point3<T>where
T: Freeze,
impl<T> RefUnwindSafe for Point3<T>where
T: RefUnwindSafe,
impl<T> Send for Point3<T>where
T: Send,
impl<T> Sync for Point3<T>where
T: Sync,
impl<T> Unpin for Point3<T>where
T: Unpin,
impl<T> UnwindSafe for Point3<T>where
T: UnwindSafe,
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