pub struct DimensionStyle {
pub extension_gap: f64,
pub extension_overshoot: f64,
pub arrow_size: f64,
pub text_height: f64,
}Expand description
Visual parameters in model units.
Fields§
§extension_gap: f64Gap between the measured point and the extension line start.
extension_overshoot: f64Extension line overshoot beyond the dimension line.
arrow_size: f64Arrow length.
text_height: f64Text height.
Trait Implementations§
Source§impl Clone for DimensionStyle
impl Clone for DimensionStyle
Source§fn clone(&self) -> DimensionStyle
fn clone(&self) -> DimensionStyle
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 moreimpl Copy for DimensionStyle
Source§impl Debug for DimensionStyle
impl Debug for DimensionStyle
Source§impl Default for DimensionStyle
impl Default for DimensionStyle
Source§impl<'de> Deserialize<'de> for DimensionStyle
impl<'de> Deserialize<'de> for DimensionStyle
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 PartialEq for DimensionStyle
impl PartialEq for DimensionStyle
Source§fn eq(&self, other: &DimensionStyle) -> bool
fn eq(&self, other: &DimensionStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DimensionStyle
impl Serialize for DimensionStyle
impl StructuralPartialEq for DimensionStyle
Auto Trait Implementations§
impl Freeze for DimensionStyle
impl RefUnwindSafe for DimensionStyle
impl Send for DimensionStyle
impl Sync for DimensionStyle
impl Unpin for DimensionStyle
impl UnsafeUnpin for DimensionStyle
impl UnwindSafe for DimensionStyle
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