pub enum GeometryPolicy {
Auto,
PointsOnly,
MeshOnly,
}Expand description
How the conversion pipeline should treat formats that can contain either vertices-only point data or triangle meshes.
Variants§
Auto
Preserve mesh faces when the destination supports them; otherwise require
allow_lossy before dropping faces.
PointsOnly
Force point-cloud output. Mesh inputs drop faces only when allow_lossy is true.
MeshOnly
Require mesh geometry.
Trait Implementations§
Source§impl Clone for GeometryPolicy
impl Clone for GeometryPolicy
Source§fn clone(&self) -> GeometryPolicy
fn clone(&self) -> GeometryPolicy
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 GeometryPolicy
impl Debug for GeometryPolicy
Source§impl Default for GeometryPolicy
impl Default for GeometryPolicy
Source§fn default() -> GeometryPolicy
fn default() -> GeometryPolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for GeometryPolicy
impl PartialEq for GeometryPolicy
Source§fn eq(&self, other: &GeometryPolicy) -> bool
fn eq(&self, other: &GeometryPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GeometryPolicy
impl Eq for GeometryPolicy
impl StructuralPartialEq for GeometryPolicy
Auto Trait Implementations§
impl Freeze for GeometryPolicy
impl RefUnwindSafe for GeometryPolicy
impl Send for GeometryPolicy
impl Sync for GeometryPolicy
impl Unpin for GeometryPolicy
impl UnsafeUnpin for GeometryPolicy
impl UnwindSafe for GeometryPolicy
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