pub struct Shape { /* private fields */ }
Implementations§
Source§impl Shape
impl Shape
pub fn get_style(&self) -> &str
pub fn set_style<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_type(&self) -> &str
pub fn set_type<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_filled(&self) -> &bool
pub fn set_filled(&mut self, value: bool) -> &mut Self
pub fn get_fill_color(&self) -> &str
pub fn set_fill_color<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_stroked(&self) -> &bool
pub fn set_stroked(&mut self, value: bool) -> &mut Self
pub fn get_stroke_color(&self) -> &str
pub fn set_stroke_color<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_stroke_weight(&self) -> &str
pub fn set_stroke_weight<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_inset_mode(&self) -> &InsetMarginValues
pub fn set_inset_mode(&mut self, value: InsetMarginValues) -> &mut Self
pub fn get_fill(&self) -> Option<&Fill>
pub fn get_fill_mut(&mut self) -> Option<&mut Fill>
pub fn set_fill(&mut self, value: Fill) -> &mut Self
pub fn get_image_data(&self) -> Option<&ImageData>
pub fn get_image_data_mut(&mut self) -> Option<&mut ImageData>
pub fn set_image_data(&mut self, value: ImageData) -> &mut Self
pub fn get_stroke(&self) -> Option<&Stroke>
pub fn get_stroke_mut(&mut self) -> Option<&mut Stroke>
pub fn set_stroke(&mut self, value: Stroke) -> &mut Self
pub fn get_shadow(&self) -> Option<&Shadow>
pub fn get_shadow_mut(&mut self) -> Option<&mut Shadow>
pub fn set_shadow(&mut self, value: Shadow) -> &mut Self
pub fn get_path(&self) -> Option<&Path>
pub fn get_path_mut(&mut self) -> Option<&mut Path>
pub fn set_path(&mut self, value: Path) -> &mut Self
pub fn get_text_box(&self) -> Option<&TextBox>
pub fn get_text_box_mut(&mut self) -> Option<&mut TextBox>
pub fn set_text_box(&mut self, value: TextBox) -> &mut Self
pub fn get_client_data(&self) -> &ClientData
pub fn get_client_data_mut(&mut self) -> &mut ClientData
pub fn set_client_data(&mut self, value: ClientData) -> &mut Self
pub fn get_optional_number(&self) -> &i32
pub fn set_optional_number(&mut self, value: i32) -> &mut Self
pub fn get_coordinate_size(&self) -> &str
pub fn set_coordinate_size<S: Into<String>>(&mut self, value: S) -> &mut Self
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 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