pub struct ConstellationOptions {
pub star_opacity: f32,
pub line_opacity: f32,
}Expand description
Constellation draw-style parameters. All fields have defaults. Only
ScatterLine series are drawn: PSF-rendered stars sit at the scatter data
points, connected by a translucent line.
Fields§
§star_opacity: f32Opacity applied to the point stars. Default 1.0.
line_opacity: f32Opacity applied to the connecting line. Default 0.45.
Implementations§
Source§impl ConstellationOptions
impl ConstellationOptions
Sourcepub const PARAM_SPECS: &'static [StyleParamSpec]
pub const PARAM_SPECS: &'static [StyleParamSpec]
Parameter metadata for hosts – see StyleParamSpec. A model test
pins each default to Default, so the two cannot drift.
Trait Implementations§
Source§impl Clone for ConstellationOptions
impl Clone for ConstellationOptions
impl Copy for ConstellationOptions
Source§impl Debug for ConstellationOptions
impl Debug for ConstellationOptions
Source§impl Default for ConstellationOptions
impl Default for ConstellationOptions
Source§impl<'de> Deserialize<'de> for ConstellationOptionswhere
ConstellationOptions: Default,
impl<'de> Deserialize<'de> for ConstellationOptionswhere
ConstellationOptions: Default,
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 ConstellationOptions
impl PartialEq for ConstellationOptions
Source§impl Serialize for ConstellationOptions
impl Serialize for ConstellationOptions
impl StructuralPartialEq for ConstellationOptions
Auto Trait Implementations§
impl Freeze for ConstellationOptions
impl RefUnwindSafe for ConstellationOptions
impl Send for ConstellationOptions
impl Sync for ConstellationOptions
impl Unpin for ConstellationOptions
impl UnsafeUnpin for ConstellationOptions
impl UnwindSafe for ConstellationOptions
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