pub struct PointXYZRGBNormal {
pub x: f32,
pub y: f32,
pub z: f32,
pub r: u8,
pub g: u8,
pub b: u8,
pub normal_x: f32,
pub normal_y: f32,
pub normal_z: f32,
}Expand description
3D point with XYZ coordinates, RGB color, and normal vector
Fields§
§x: f32§y: f32§z: f32§r: u8§g: u8§b: u8§normal_x: f32§normal_y: f32§normal_z: f32Implementations§
Trait Implementations§
Source§impl Clone for PointXYZRGBNormal
impl Clone for PointXYZRGBNormal
Source§fn clone(&self) -> PointXYZRGBNormal
fn clone(&self) -> PointXYZRGBNormal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PointXYZRGBNormal
impl Debug for PointXYZRGBNormal
Source§impl Default for PointXYZRGBNormal
impl Default for PointXYZRGBNormal
Source§impl<'de> Deserialize<'de> for PointXYZRGBNormal
impl<'de> Deserialize<'de> for PointXYZRGBNormal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PointXYZRGBNormal
impl PartialEq for PointXYZRGBNormal
Source§impl Point for PointXYZRGBNormal
impl Point for PointXYZRGBNormal
Source§impl Serialize for PointXYZRGBNormal
impl Serialize for PointXYZRGBNormal
impl StructuralPartialEq for PointXYZRGBNormal
Auto Trait Implementations§
impl Freeze for PointXYZRGBNormal
impl RefUnwindSafe for PointXYZRGBNormal
impl Send for PointXYZRGBNormal
impl Sync for PointXYZRGBNormal
impl Unpin for PointXYZRGBNormal
impl UnsafeUnpin for PointXYZRGBNormal
impl UnwindSafe for PointXYZRGBNormal
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more