pub struct Color {
pub red: f32,
pub green: f32,
pub blue: f32,
}Expand description
Simple RGB point colors.
When reading, the colors are by default normalized to values between 0 and 1.
The normalization is done using the color limits of the point cloud being read.
If there are no color limits, the min and max values of the color record types are used as fallback.
See also PointCloud::color_limits and
PointCloudReaderSimple::normalize_color.
Fields§
§red: f32§green: f32§blue: f32Trait Implementations§
impl StructuralPartialEq for Color
Auto Trait Implementations§
impl Freeze for Color
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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