pub struct ConfigPick {
pub k: usize,
pub from: usize,
pub scale: f64,
pub offset: f64,
pub row: Option<Param>,
}Expand description
構成のピックアップ(core の型をそのまま) 多重構成の行の、構成 k の値 = 構成 from の値 × scale + offset(どちらも 1 始まり)。row があれば、構成 from の値は 同じ表の別の行 row のもの(OpticStudio の構成のピックアップの元の行。同じ量の種類の行だけ。row なら from は k と同じでもよい。 OpticStudio は上の行・前か同じ構成からだけ拾うので、ほかは .zmx に値だけ書く)
Fields§
§k: usize§from: usize§scale: f64§offset: f64§row: Option<Param>元の行(同じ表の行のパラメータ)。省くと同じ行
Trait Implementations§
Source§impl Clone for ConfigPick
impl Clone for ConfigPick
Source§fn clone(&self) -> ConfigPick
fn clone(&self) -> ConfigPick
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConfigPick
Source§impl Debug for ConfigPick
impl Debug for ConfigPick
Source§impl<'de> Deserialize<'de> for ConfigPick
impl<'de> Deserialize<'de> for ConfigPick
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfigPick, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfigPick, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ConfigPick
impl JsonSchema for ConfigPick
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ConfigPick
impl PartialEq for ConfigPick
Source§impl Serialize for ConfigPick
impl Serialize for ConfigPick
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ConfigPick
Auto Trait Implementations§
impl Freeze for ConfigPick
impl RefUnwindSafe for ConfigPick
impl Send for ConfigPick
impl Sync for ConfigPick
impl Unpin for ConfigPick
impl UnsafeUnpin for ConfigPick
impl UnwindSafe for ConfigPick
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