pub struct Shape {Show 27 fields
pub id: String,
pub name: String,
pub name_u: String,
pub shape_type: String,
pub master: String,
pub master_shape: String,
pub cells: HashMap<String, CellValue>,
pub geometry: Vec<GeomSection>,
pub text: String,
pub text_parts: Vec<TextPart>,
pub char_formats: HashMap<String, CharFormat>,
pub para_formats: HashMap<String, ParaFormat>,
pub sub_shapes: Vec<Shape>,
pub controls: HashMap<String, HashMap<String, String>>,
pub connections: HashMap<String, HashMap<String, CellValue>>,
pub user: HashMap<String, HashMap<String, String>>,
pub foreign_data: Option<ForeignDataInfo>,
pub hyperlinks: Vec<Hyperlink>,
pub line_style: String,
pub fill_style: String,
pub text_style: String,
pub gradient_stops: Vec<Vec<GradientStop>>,
pub has_text_elem: bool,
pub master_w: f64,
pub master_h: f64,
pub has_own_geometry: bool,
pub theme_text_color: Option<String>,
}Expand description
A parsed Visio shape.
Fields§
§id: String§name: String§name_u: String§shape_type: String§master: String§master_shape: String§cells: HashMap<String, CellValue>§geometry: Vec<GeomSection>§text: String§text_parts: Vec<TextPart>§char_formats: HashMap<String, CharFormat>§para_formats: HashMap<String, ParaFormat>§sub_shapes: Vec<Shape>§controls: HashMap<String, HashMap<String, String>>§connections: HashMap<String, HashMap<String, CellValue>>§user: HashMap<String, HashMap<String, String>>§foreign_data: Option<ForeignDataInfo>§hyperlinks: Vec<Hyperlink>§line_style: String§fill_style: String§text_style: String§gradient_stops: Vec<Vec<GradientStop>>§has_text_elem: bool§master_w: f64§master_h: f64§has_own_geometry: bool§theme_text_color: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnsafeUnpin for Shape
impl UnwindSafe for Shape
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