#[repr(C, packed(1))]pub struct OBColorPoint {
pub x: f32,
pub y: f32,
pub z: f32,
pub r: f32,
pub g: f32,
pub b: f32,
}Expand description
@brief 3D point structure with color information
Fields§
§x: f32< X coordinate
y: f32< Y coordinate
z: f32< Z coordinate
r: f32< Red channel component
g: f32< Green channel component
b: f32< Blue channel component
Trait Implementations§
Source§impl Clone for OBColorPoint
impl Clone for OBColorPoint
Source§fn clone(&self) -> OBColorPoint
fn clone(&self) -> OBColorPoint
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 moreimpl Copy for OBColorPoint
Auto Trait Implementations§
impl Freeze for OBColorPoint
impl RefUnwindSafe for OBColorPoint
impl Send for OBColorPoint
impl Sync for OBColorPoint
impl Unpin for OBColorPoint
impl UnsafeUnpin for OBColorPoint
impl UnwindSafe for OBColorPoint
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