pub struct Mask {Show 23 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 x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
pub transform: Option<AffineTransform>,
pub annotation_ref: Vec<AnnotationRef>,
pub bin_data: BinData,
}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>§x: f32§y: f32§width: f32§height: f32§transform: Option<AffineTransform>§annotation_ref: Vec<AnnotationRef>§bin_data: BinDataImplementations§
Source§impl Mask
impl Mask
pub fn default_stroke_width_unit() -> UnitsLength
pub fn default_font_size_unit() -> UnitsLength
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mask
impl<'de> Deserialize<'de> for Mask
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 Mask
impl RefUnwindSafe for Mask
impl Send for Mask
impl Sync for Mask
impl Unpin for Mask
impl UnwindSafe for Mask
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