pub struct ConfigPick {
pub k: usize,
pub from: usize,
pub scale: f64,
pub offset: f64,
pub row: Option<Param>,
}Expand description
多重構成の行の、構成 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
impl 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<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 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
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
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