pub struct FitIssue {
pub kind: &'static str,
pub error: bool,
pub part: usize,
pub other: Option<usize>,
pub surface: Option<usize>,
pub value: f64,
pub message: String,
}Expand description
機構の配置の確認の結果
Fields§
§kind: &'static str“collision”(素子の縁が部品の壁に当たる)・“protrude”(保持する素子が部品の外にはみ出す)・ “loose”(保持径より素子が細い、注意)・“overlap”(部品どうしが重なる)・“rod”(ケージのロッドの長さ、注意)・ “rod_mismatch”(同じ軸のケージ板でロッドの間隔が違う)
error: bool誤り(false は注意)
part: usize§other: Option<usize>相手の部品(overlap・rod・rod_mismatch)
surface: Option<usize>素子の面(collision・protrude・loose)
value: f64量 mm: 当たる・はみ出す・すき間の大きさ、ロッドの要る長さ
message: StringTrait Implementations§
impl StructuralPartialEq for FitIssue
Auto Trait Implementations§
impl Freeze for FitIssue
impl RefUnwindSafe for FitIssue
impl Send for FitIssue
impl Sync for FitIssue
impl Unpin for FitIssue
impl UnsafeUnpin for FitIssue
impl UnwindSafe for FitIssue
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