pub struct GoalVector {
pub contrast_target: f32,
pub warmth_target: f32,
pub chroma_target: f32,
pub feature_readability_target: f32,
pub artificiality_tolerance: f32,
}Fields§
§contrast_target: f32§warmth_target: f32§chroma_target: f32§feature_readability_target: f32§artificiality_tolerance: f32Implementations§
Trait Implementations§
Source§impl Clone for GoalVector
impl Clone for GoalVector
Source§fn clone(&self) -> GoalVector
fn clone(&self) -> GoalVector
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 moreSource§impl Debug for GoalVector
impl Debug for GoalVector
Source§impl Default for GoalVector
impl Default for GoalVector
Source§impl<'de> Deserialize<'de> for GoalVector
impl<'de> Deserialize<'de> for GoalVector
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 GoalVector
impl JsonSchema for GoalVector
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 GoalVector
impl PartialEq for GoalVector
Source§fn eq(&self, other: &GoalVector) -> bool
fn eq(&self, other: &GoalVector) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GoalVector
impl Serialize for GoalVector
impl StructuralPartialEq for GoalVector
Auto Trait Implementations§
impl Freeze for GoalVector
impl RefUnwindSafe for GoalVector
impl Send for GoalVector
impl Sync for GoalVector
impl Unpin for GoalVector
impl UnsafeUnpin for GoalVector
impl UnwindSafe for GoalVector
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