pub struct OutGrid {
pub n: Option<(usize, usize)>,
pub half: Option<(f64, f64)>,
pub center: Option<(f64, f64)>,
}Expand description
出力の格子
Fields§
§n: Option<(usize, usize)>標本の数(None なら入力と同じ)
half: Option<(f64, f64)>半幅 [mm](None なら自動: 幾何的な広がり + 回折の広がり)
center: Option<(f64, f64)>中心(None なら入力の中心からパイロットの傾きの向きに進めた点)
Trait Implementations§
impl Copy for OutGrid
impl StructuralPartialEq for OutGrid
Auto Trait Implementations§
impl Freeze for OutGrid
impl RefUnwindSafe for OutGrid
impl Send for OutGrid
impl Sync for OutGrid
impl Unpin for OutGrid
impl UnsafeUnpin for OutGrid
impl UnwindSafe for OutGrid
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