pub struct SurfaceGrid {
pub samples: Vec<SurfaceSample>,
pub u_count: usize,
pub v_count: usize,
}Expand description
A grid of samples from a parametric surface.
Fields§
§samples: Vec<SurfaceSample>§u_count: usize§v_count: usizeImplementations§
Source§impl SurfaceGrid
impl SurfaceGrid
Trait Implementations§
Source§impl Clone for SurfaceGrid
impl Clone for SurfaceGrid
Source§fn clone(&self) -> SurfaceGrid
fn clone(&self) -> SurfaceGrid
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SurfaceGrid
impl RefUnwindSafe for SurfaceGrid
impl Send for SurfaceGrid
impl Sync for SurfaceGrid
impl Unpin for SurfaceGrid
impl UnsafeUnpin for SurfaceGrid
impl UnwindSafe for SurfaceGrid
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