pub struct GlassChangeView {
pub surface: usize,
pub from: String,
pub to: String,
pub target_nd: f64,
pub target_vd: f64,
pub nd: f64,
pub vd: f64,
pub merit: f64,
pub configs: Option<Vec<usize>>,
}Expand description
1 つの面の置き換え
Fields§
§surface: usize§from: String§to: String§target_nd: f64§target_vd: f64§nd: f64§vd: f64§merit: f64§configs: Option<Vec<usize>>置き換えた構成(問題に渡した構成の順で 1 から。面の材料が構成で違うときの組)。すべての構成なら省く
Trait Implementations§
Source§impl Clone for GlassChangeView
impl Clone for GlassChangeView
Source§impl Debug for GlassChangeView
impl Debug for GlassChangeView
Source§impl Default for GlassChangeView
impl Default for GlassChangeView
Source§impl<'de> Deserialize<'de> for GlassChangeView
impl<'de> Deserialize<'de> for GlassChangeView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GlassChangeView
impl PartialEq for GlassChangeView
Source§impl Serialize for GlassChangeView
impl Serialize for GlassChangeView
impl StructuralPartialEq for GlassChangeView
Auto Trait Implementations§
impl Freeze for GlassChangeView
impl RefUnwindSafe for GlassChangeView
impl Send for GlassChangeView
impl Sync for GlassChangeView
impl Unpin for GlassChangeView
impl UnsafeUnpin for GlassChangeView
impl UnwindSafe for GlassChangeView
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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