pub struct GlassSubOpts {
pub surfaces: Vec<usize>,
pub glasses: Arc<HashMap<String, Glass>>,
pub candidates: usize,
pub passes: usize,
pub local: DlsOpts,
pub filter: GlassFilter,
pub closeness: Closeness,
}Expand description
ガラスの置き換えの設定
Fields§
§surfaces: Vec<usize>置き換える面の番号
glasses: Arc<HashMap<String, Glass>>候補の硝材(名前 → ガラス。名前は系の材料に書く名前)
candidates: usize面ごとに比べる候補の数(近い順)
passes: usize面を一巡する回数の上限
local: DlsOpts候補ごとの局所の最適化
filter: GlassFilter候補の絞り込み
closeness: Closeness近さの重み
Trait Implementations§
Source§impl Clone for GlassSubOpts
impl Clone for GlassSubOpts
Auto Trait Implementations§
impl Freeze for GlassSubOpts
impl RefUnwindSafe for GlassSubOpts
impl Send for GlassSubOpts
impl Sync for GlassSubOpts
impl Unpin for GlassSubOpts
impl UnsafeUnpin for GlassSubOpts
impl UnwindSafe for GlassSubOpts
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