logo
pub struct DiskStyle {
    pub disk_fill_color: Option<DiskFillColor>,
    pub disk_edge_width: Option<DiskEdgeWidth>,
    pub disk_edge_color: Option<DiskEdgeColor>,
}
Expand description

Fields

disk_fill_color: Option<DiskFillColor>

Represent the color of a disk, default color is black, see more in DiskFillColor.

disk_edge_width: Option<DiskEdgeWidth>

Represent the edge width of a disk, default width is 1.0, see more in DiskEdgeWidth.

disk_edge_color: Option<DiskEdgeColor>

Represent the edge color of a disk, default is transparent, see more in DiskEdgeColor.

Trait Implementations

Performs the += operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Draws a shape with a style. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.