pub struct Draw {
pub plane: Plane,
pub color: Option<ColorBy>,
pub width: Option<u32>,
pub segments: Option<usize>,
pub rings: Option<usize>,
pub tube: Option<f64>,
pub mech_detail: Option<Details>,
}Expand description
書き出しの形
Fields§
§plane: Plane2D の面(3D の書き出しでは使わない)
color: Option<ColorBy>光線の色分け(None で重ね描きなら構成ごと、ほかは視野ごと)
width: Option<u32>PNG の幅(None で既定)
segments: Option<usize>周の分割(None で既定)
rings: Option<usize>半径の分割(None で既定)
tube: Option<f64>光線の管の半径 [mm]
mech_detail: Option<Details>機構部品を取った STEP の詳しい形(None で簡易外形)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Draw
impl !UnwindSafe for Draw
impl Freeze for Draw
impl Send for Draw
impl Sync for Draw
impl Unpin for Draw
impl UnsafeUnpin for Draw
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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