Struct graphics_style::DiskEdgeColor
source · [−]pub struct DiskEdgeColor {
pub value: RGBA,
}Expand description
Represent the edge color of a disk, default is transparent
Fields
value: RGBAActual value for StyleResolver::disk_edge_color
Trait Implementations
sourceimpl AddAssign<&'_ DiskEdgeColor> for DiskStyle
impl AddAssign<&'_ DiskEdgeColor> for DiskStyle
sourcefn add_assign(&mut self, rhs: &DiskEdgeColor)
fn add_assign(&mut self, rhs: &DiskEdgeColor)
Performs the += operation. Read more
sourceimpl AddAssign<&'_ DiskEdgeColor> for StyleContext
impl AddAssign<&'_ DiskEdgeColor> for StyleContext
sourcefn add_assign(&mut self, rhs: &DiskEdgeColor)
fn add_assign(&mut self, rhs: &DiskEdgeColor)
Performs the += operation. Read more
sourceimpl AddAssign<DiskEdgeColor> for DiskStyle
impl AddAssign<DiskEdgeColor> for DiskStyle
sourcefn add_assign(&mut self, rhs: DiskEdgeColor)
fn add_assign(&mut self, rhs: DiskEdgeColor)
Performs the += operation. Read more
sourceimpl AddAssign<DiskEdgeColor> for StyleContext
impl AddAssign<DiskEdgeColor> for StyleContext
sourcefn add_assign(&mut self, rhs: DiskEdgeColor)
fn add_assign(&mut self, rhs: DiskEdgeColor)
Performs the += operation. Read more
sourceimpl Clone for DiskEdgeColor
impl Clone for DiskEdgeColor
sourcefn clone(&self) -> DiskEdgeColor
fn clone(&self) -> DiskEdgeColor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DiskEdgeColor
impl Debug for DiskEdgeColor
sourceimpl Default for DiskEdgeColor
impl Default for DiskEdgeColor
sourcefn default() -> DiskEdgeColor
fn default() -> DiskEdgeColor
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DiskEdgeColor
impl<'de> Deserialize<'de> for DiskEdgeColor
sourcefn 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
sourceimpl From<RGBA> for DiskEdgeColor
impl From<RGBA> for DiskEdgeColor
sourceimpl GraphicsStyle for DiskEdgeColor
impl GraphicsStyle for DiskEdgeColor
sourcefn draw_style(&self, state: &mut StyleContext)
fn draw_style(&self, state: &mut StyleContext)
Draws a shape with a style. Read more
sourceimpl Into<RGBA> for DiskEdgeColor
impl Into<RGBA> for DiskEdgeColor
sourceimpl PartialEq<DiskEdgeColor> for DiskEdgeColor
impl PartialEq<DiskEdgeColor> for DiskEdgeColor
sourcefn eq(&self, other: &DiskEdgeColor) -> bool
fn eq(&self, other: &DiskEdgeColor) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DiskEdgeColor) -> bool
fn ne(&self, other: &DiskEdgeColor) -> bool
This method tests for !=.
sourceimpl Serialize for DiskEdgeColor
impl Serialize for DiskEdgeColor
impl Copy for DiskEdgeColor
impl StructuralPartialEq for DiskEdgeColor
Auto Trait Implementations
impl RefUnwindSafe for DiskEdgeColor
impl Send for DiskEdgeColor
impl Sync for DiskEdgeColor
impl Unpin for DiskEdgeColor
impl UnwindSafe for DiskEdgeColor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more