pub struct DispVertex {
pub position: Point3D,
pub normal: Point3D,
pub distance: f32,
pub alpha: f32,
}Expand description
Represents a displacement vertex
Fields§
§position: Point3D§normal: Point3D§distance: f32§alpha: f32Trait Implementations§
Source§impl Clone for DispVertex
impl Clone for DispVertex
Source§fn clone(&self) -> DispVertex
fn clone(&self) -> DispVertex
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 DispVertex
impl Debug for DispVertex
Source§impl Default for DispVertex
impl Default for DispVertex
Source§fn default() -> DispVertex
fn default() -> DispVertex
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DispVertex
impl RefUnwindSafe for DispVertex
impl Send for DispVertex
impl Sync for DispVertex
impl Unpin for DispVertex
impl UnsafeUnpin for DispVertex
impl UnwindSafe for DispVertex
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