pub struct PartialHaloStyle {
pub radius: Option<f32>,
pub color: Option<Rgba>,
pub opacity: Option<f32>,
}Expand description
Imperative per-frame halo override (from set_halo_fn), merged over the
declarative halo params — mirrors PartialNodeStyle.
Fields§
§radius: Option<f32>§color: Option<Rgba>§opacity: Option<f32>Trait Implementations§
Source§impl Clone for PartialHaloStyle
impl Clone for PartialHaloStyle
Source§fn clone(&self) -> PartialHaloStyle
fn clone(&self) -> PartialHaloStyle
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 PartialHaloStyle
impl Debug for PartialHaloStyle
Source§impl Default for PartialHaloStyle
impl Default for PartialHaloStyle
Source§fn default() -> PartialHaloStyle
fn default() -> PartialHaloStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PartialHaloStyle
impl<'de> Deserialize<'de> for PartialHaloStyle
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
Auto Trait Implementations§
impl Freeze for PartialHaloStyle
impl RefUnwindSafe for PartialHaloStyle
impl Send for PartialHaloStyle
impl Sync for PartialHaloStyle
impl Unpin for PartialHaloStyle
impl UnsafeUnpin for PartialHaloStyle
impl UnwindSafe for PartialHaloStyle
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