pub struct StyleChange {
pub move_to: Option<Vector2D>,
pub left_fill: Option<usize>,
pub right_fill: Option<usize>,
pub line_style: Option<usize>,
pub new_styles: Option<ShapeStyles>,
}
Fields§
§move_to: Option<Vector2D>
§left_fill: Option<usize>
§right_fill: Option<usize>
§line_style: Option<usize>
§new_styles: Option<ShapeStyles>
Trait Implementations§
Source§impl Clone for StyleChange
impl Clone for StyleChange
Source§fn clone(&self) -> StyleChange
fn clone(&self) -> StyleChange
Returns a copy of the value. Read more
1.0.0 · 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 StyleChange
impl Debug for StyleChange
Source§impl<'de> Deserialize<'de> for StyleChange
impl<'de> Deserialize<'de> for StyleChange
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 Hash for StyleChange
impl Hash for StyleChange
Source§impl Ord for StyleChange
impl Ord for StyleChange
Source§fn cmp(&self, other: &StyleChange) -> Ordering
fn cmp(&self, other: &StyleChange) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StyleChange
impl PartialEq for StyleChange
Source§impl PartialOrd for StyleChange
impl PartialOrd for StyleChange
Source§impl Serialize for StyleChange
impl Serialize for StyleChange
impl Eq for StyleChange
impl StructuralPartialEq for StyleChange
Auto Trait Implementations§
impl Freeze for StyleChange
impl RefUnwindSafe for StyleChange
impl Send for StyleChange
impl Sync for StyleChange
impl Unpin for StyleChange
impl UnwindSafe for StyleChange
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