pub enum ItemBody {
Optic {
blocks: Vec<Block>,
frame: Option<Frame>,
},
Mech(MechSpec),
Incomplete {
missing: Vec<String>,
},
}Expand description
品の中身
Variants§
Optic
光学の面(空なら面の無い光学の品)。枠付きの品(マウント済みのフィルタなど)は枠も
Mech(MechSpec)
機構部品の寸法
Incomplete
未完の品(足りない値 thickness・diameter)。配置できず、品ページの仕様表か STEP で補ってから使う
([catalog_fill])
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ItemBody
impl RefUnwindSafe for ItemBody
impl Send for ItemBody
impl Sync for ItemBody
impl Unpin for ItemBody
impl UnsafeUnpin for ItemBody
impl UnwindSafe for ItemBody
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