pub struct StyleConfig {
pub preview_color: String,
pub complete_color: String,
pub label_color: String,
pub target_color: String,
pub thickness: u32,
pub fill: bool,
}Fields§
§preview_color: StringOutline color while dragging out a shape.
complete_color: StringOutline color of committed shapes.
label_color: StringLabel and HUD text color.
target_color: StringBorder color drawn around the --target window.
thickness: u32Outline thickness in pixels; 0 hides outlines.
fill: boolFill shapes instead of outlining them.
Trait Implementations§
Source§impl Clone for StyleConfig
impl Clone for StyleConfig
Source§fn clone(&self) -> StyleConfig
fn clone(&self) -> StyleConfig
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 StyleConfig
impl Debug for StyleConfig
Source§impl Default for StyleConfig
impl Default for StyleConfig
Source§impl<'de> Deserialize<'de> for StyleConfigwhere
StyleConfig: Default,
impl<'de> Deserialize<'de> for StyleConfigwhere
StyleConfig: 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
impl Eq for StyleConfig
Source§impl PartialEq for StyleConfig
impl PartialEq for StyleConfig
Source§impl Serialize for StyleConfig
impl Serialize for StyleConfig
impl StructuralPartialEq for StyleConfig
Auto Trait Implementations§
impl Freeze for StyleConfig
impl RefUnwindSafe for StyleConfig
impl Send for StyleConfig
impl Sync for StyleConfig
impl Unpin for StyleConfig
impl UnsafeUnpin for StyleConfig
impl UnwindSafe for StyleConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.