pub struct Options3D {
pub segments: usize,
pub rings: usize,
pub tube: Option<f64>,
pub color: ColorBy,
pub mech_detail: Option<Details>,
}Fields§
§segments: usize周方向の分割数
rings: usize半径方向の分割数
tube: Option<f64>光線を管にするときの半径 mm(None なら glTF・OBJ は線、STL は場面の大きさの 0.1%)
color: ColorBy§mech_detail: Option<Details>機構部品を、取った STEP の詳しい形で描くときの読み手(crate::detail。None・読めない部品は簡易外形)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Options3D
impl !UnwindSafe for Options3D
impl Freeze for Options3D
impl Send for Options3D
impl Sync for Options3D
impl Unpin for Options3D
impl UnsafeUnpin for Options3D
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more