pub struct SurfaceDef {
pub kind: SurfaceKind,
pub flipped: bool,
}Expand description
A surface as the file defines it, and whether the NURBS it is built as
(see [SurfaceDef::natural_normal_flipped]) faces the other way.
Fields§
§kind: SurfaceKind§flipped: boolWhether the surface’s normal as the file defines it is opposite to
that of the NURBS built from it: what decides, with a face’s own
same_sense, which way a face’s NURBS has to run.
Implementations§
Trait Implementations§
Source§impl Clone for SurfaceDef
impl Clone for SurfaceDef
Source§fn clone(&self) -> SurfaceDef
fn clone(&self) -> SurfaceDef
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 moreAuto Trait Implementations§
impl Freeze for SurfaceDef
impl RefUnwindSafe for SurfaceDef
impl Send for SurfaceDef
impl Sync for SurfaceDef
impl Unpin for SurfaceDef
impl UnsafeUnpin for SurfaceDef
impl UnwindSafe for SurfaceDef
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