pub struct GraphicOption {Show 13 fields
pub element_type: Option<String>,
pub left: Option<Position>,
pub top: Option<Position>,
pub right: Option<Position>,
pub bottom: Option<Position>,
pub bounding: Option<String>,
pub rotation: Option<f64>,
pub width: Option<f64>,
pub height: Option<f64>,
pub children: Vec<GraphicOption>,
pub style: Option<ItemStyleOption>,
pub text: Option<LabelOption>,
pub text_content: Option<String>,
}Expand description
The options of a graphic element.
Fields§
§element_type: Option<String>The kind of the element.
left: Option<Position>The left position of the element.
top: Option<Position>The top position of the element.
right: Option<Position>The right position of the element.
bottom: Option<Position>The bottom position of the element.
bounding: Option<String>The bounding rectangle of the element.
rotation: Option<f64>The rotation of the element, in degrees.
width: Option<f64>The width of the element.
height: Option<f64>The height of the element.
children: Vec<GraphicOption>The children of the element.
style: Option<ItemStyleOption>The style of the element.
text: Option<LabelOption>The text of the element.
text_content: Option<String>The text content of the element.
Trait Implementations§
Source§impl Clone for GraphicOption
impl Clone for GraphicOption
Source§impl Debug for GraphicOption
impl Debug for GraphicOption
Source§impl Default for GraphicOption
impl Default for GraphicOption
Source§impl PartialEq for GraphicOption
impl PartialEq for GraphicOption
impl StructuralPartialEq for GraphicOption
Auto Trait Implementations§
impl Freeze for GraphicOption
impl RefUnwindSafe for GraphicOption
impl Send for GraphicOption
impl Sync for GraphicOption
impl Unpin for GraphicOption
impl UnsafeUnpin for GraphicOption
impl UnwindSafe for GraphicOption
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