pub struct DirectionalDelta {
pub from: String,
pub to: String,
pub delta_l: f32,
pub delta_a: f32,
pub delta_b: f32,
pub delta_e00: f32,
pub michelson_lightness_contrast: f32,
}Fields§
§from: String§to: String§delta_l: f32§delta_a: f32§delta_b: f32§delta_e00: f32§michelson_lightness_contrast: f32Trait Implementations§
Source§impl Clone for DirectionalDelta
impl Clone for DirectionalDelta
Source§fn clone(&self) -> DirectionalDelta
fn clone(&self) -> DirectionalDelta
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 DirectionalDelta
impl Debug for DirectionalDelta
Source§impl<'de> Deserialize<'de> for DirectionalDelta
impl<'de> Deserialize<'de> for DirectionalDelta
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 DirectionalDelta
impl JsonSchema for DirectionalDelta
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 DirectionalDelta
impl PartialEq for DirectionalDelta
Source§fn eq(&self, other: &DirectionalDelta) -> bool
fn eq(&self, other: &DirectionalDelta) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DirectionalDelta
impl Serialize for DirectionalDelta
impl StructuralPartialEq for DirectionalDelta
Auto Trait Implementations§
impl Freeze for DirectionalDelta
impl RefUnwindSafe for DirectionalDelta
impl Send for DirectionalDelta
impl Sync for DirectionalDelta
impl Unpin for DirectionalDelta
impl UnsafeUnpin for DirectionalDelta
impl UnwindSafe for DirectionalDelta
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