pub struct ShapePatch {
pub placeholder: Option<Placeholder>,
pub offset: Option<(i64, i64)>,
pub extent: Option<(i64, i64)>,
pub inherited: Option<InheritedTransform>,
pub materializes: bool,
pub fill: Option<ShapeFill>,
pub outline: Option<ShapeOutline>,
pub adjust_values: Option<BTreeMap<String, f64>>,
pub table_structure: Option<TableStructure>,
pub texts: Vec<TextWrite>,
pub children: Vec<ShapeWrite>,
}Fields§
§placeholder: Option<Placeholder>§offset: Option<(i64, i64)>The halves the edit changed. Transform pieces the source already spells out and the edit did not touch are left as they are.
extent: Option<(i64, i64)>§inherited: Option<InheritedTransform>Fills in transform pieces the source never spelled out.
materializes: boolThe source spells out no transform of its own, so inherited also
sets the rotation and flips of an a:xfrm it already has.
fill: Option<ShapeFill>§outline: Option<ShapeOutline>A default outline clears the stroke.
adjust_values: Option<BTreeMap<String, f64>>§table_structure: Option<TableStructure>§texts: Vec<TextWrite>§children: Vec<ShapeWrite>Non-empty only when a group’s child list must be rebuilt.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShapePatch
impl RefUnwindSafe for ShapePatch
impl Send for ShapePatch
impl Sync for ShapePatch
impl Unpin for ShapePatch
impl UnsafeUnpin for ShapePatch
impl UnwindSafe for ShapePatch
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