pub struct ShadeStyle {
pub colormap: Option<String>,
pub vmin: Option<f64>,
pub vmax: Option<f64>,
}Expand description
Cascading shade window / LUT (not per-atom scores).
Fields§
§colormap: Option<String>§vmin: Option<f64>§vmax: Option<f64>Implementations§
Source§impl ShadeStyle
impl ShadeStyle
pub fn merge_from(&mut self, other: &ShadeStyle)
Trait Implementations§
Source§impl Clone for ShadeStyle
impl Clone for ShadeStyle
Source§fn clone(&self) -> ShadeStyle
fn clone(&self) -> ShadeStyle
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 ShadeStyle
impl Debug for ShadeStyle
Source§impl Default for ShadeStyle
impl Default for ShadeStyle
Source§fn default() -> ShadeStyle
fn default() -> ShadeStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShadeStyle
impl<'de> Deserialize<'de> for ShadeStyle
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 ShadeStyle
impl PartialEq for ShadeStyle
Source§fn eq(&self, other: &ShadeStyle) -> bool
fn eq(&self, other: &ShadeStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ShadeStyle
impl Serialize for ShadeStyle
impl StructuralPartialEq for ShadeStyle
Auto Trait Implementations§
impl Freeze for ShadeStyle
impl RefUnwindSafe for ShadeStyle
impl Send for ShadeStyle
impl Sync for ShadeStyle
impl Unpin for ShadeStyle
impl UnsafeUnpin for ShadeStyle
impl UnwindSafe for ShadeStyle
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