pub struct ShapeType {Show 18 fields
pub fill_color: Option<i32>,
pub fill_rule: Option<ShapeFillRuleType>,
pub stroke_color: Option<i32>,
pub stroke_width: Option<f32>,
pub stroke_width_unit: UnitsLength,
pub stroke_dash_array: Option<String>,
pub text: Option<String>,
pub font_family: Option<FontFamilyType>,
pub font_size: Option<i32>,
pub font_size_unit: UnitsLength,
pub font_style: Option<ShapeFontStyleType>,
pub locked: Option<bool>,
pub id: String,
pub the_z: Option<i32>,
pub the_t: Option<i32>,
pub the_c: Option<i32>,
pub transform: Option<AffineTransform>,
pub annotation_ref: Vec<AnnotationRef>,
}Fields§
§fill_color: Option<i32>§fill_rule: Option<ShapeFillRuleType>§stroke_color: Option<i32>§stroke_width: Option<f32>§stroke_width_unit: UnitsLength§stroke_dash_array: Option<String>§text: Option<String>§font_family: Option<FontFamilyType>§font_size: Option<i32>§font_size_unit: UnitsLength§font_style: Option<ShapeFontStyleType>§locked: Option<bool>§id: String§the_z: Option<i32>§the_t: Option<i32>§the_c: Option<i32>§transform: Option<AffineTransform>§annotation_ref: Vec<AnnotationRef>Implementations§
Source§impl ShapeType
impl ShapeType
pub fn default_stroke_width_unit() -> UnitsLength
pub fn default_font_size_unit() -> UnitsLength
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShapeType
impl<'de> Deserialize<'de> for ShapeType
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
Auto Trait Implementations§
impl Freeze for ShapeType
impl RefUnwindSafe for ShapeType
impl Send for ShapeType
impl Sync for ShapeType
impl Unpin for ShapeType
impl UnwindSafe for ShapeType
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