pub struct ResolvedShape {Show 14 fields
pub group_transform: Transform,
pub bounds: Rect,
pub rotation_deg: f64,
pub flip_h: bool,
pub flip_v: bool,
pub geometry: ResolvedGeometry,
pub fill: Option<Paint>,
pub image_fill: Option<ResolvedImage>,
pub line: Option<Stroke>,
pub head_end: Option<ResolvedLineEnd>,
pub tail_end: Option<ResolvedLineEnd>,
pub shadow: Option<Effect>,
pub content: ResolvedContent,
pub unsupported: Option<&'static str>,
}Expand description
One renderer-facing shape with no OOXML model types or part-tree lifetimes.
Fields§
§group_transform: TransformAffine mapping from this shape’s coordinate space through all parent groups.
bounds: Rect§rotation_deg: f64§flip_h: bool§flip_v: bool§geometry: ResolvedGeometry§fill: Option<Paint>§image_fill: Option<ResolvedImage>§line: Option<Stroke>§head_end: Option<ResolvedLineEnd>§tail_end: Option<ResolvedLineEnd>§shadow: Option<Effect>§content: ResolvedContent§unsupported: Option<&'static str>Stable fallback category when the renderer cannot reproduce the source.
Trait Implementations§
Source§impl Clone for ResolvedShape
impl Clone for ResolvedShape
Source§fn clone(&self) -> ResolvedShape
fn clone(&self) -> ResolvedShape
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 moreSource§impl Debug for ResolvedShape
impl Debug for ResolvedShape
Source§impl PartialEq for ResolvedShape
impl PartialEq for ResolvedShape
impl StructuralPartialEq for ResolvedShape
Auto Trait Implementations§
impl Freeze for ResolvedShape
impl RefUnwindSafe for ResolvedShape
impl Send for ResolvedShape
impl Sync for ResolvedShape
impl Unpin for ResolvedShape
impl UnsafeUnpin for ResolvedShape
impl UnwindSafe for ResolvedShape
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