pub struct Shape { /* private fields */ }Implementations§
Source§impl Shape
impl Shape
pub fn anchor(&self) -> &Anchor
pub fn get_anchor(&self) -> &Anchor
👎Deprecated since 3.0.0:
Use anchor()
pub fn anchor_mut(&mut self) -> &mut Anchor
pub fn get_anchor_mut(&mut self) -> &mut Anchor
👎Deprecated since 3.0.0:
Use anchor_mut()
pub fn set_anchor(&mut self, value: Anchor)
pub fn non_visual_shape_properties(&self) -> &NonVisualShapeProperties
pub fn get_non_visual_shape_properties(&self) -> &NonVisualShapeProperties
👎Deprecated since 3.0.0:
Use non_visual_shape_properties()
pub fn non_visual_shape_properties_mut( &mut self, ) -> &mut NonVisualShapeProperties
pub fn get_non_visual_shape_properties_mut( &mut self, ) -> &mut NonVisualShapeProperties
👎Deprecated since 3.0.0:
Use non_visual_shape_properties_mut()
pub fn set_non_visual_shape_properties( &mut self, value: NonVisualShapeProperties, )
pub fn shape_properties(&self) -> &ShapeProperties
pub fn get_shape_properties(&self) -> &ShapeProperties
👎Deprecated since 3.0.0:
Use shape_properties()
pub fn shape_properties_mut(&mut self) -> &mut ShapeProperties
pub fn get_shape_properties_mut(&mut self) -> &mut ShapeProperties
👎Deprecated since 3.0.0:
Use shape_properties_mut()
pub fn set_shape_properties(&mut self, value: ShapeProperties)
pub fn shape_style(&self) -> Option<&ShapeStyle>
pub fn get_shape_style(&self) -> Option<&ShapeStyle>
👎Deprecated since 3.0.0:
Use shape_style()
pub fn shape_style_mut(&mut self) -> Option<&mut ShapeStyle>
pub fn get_shape_style_mut(&mut self) -> Option<&mut ShapeStyle>
👎Deprecated since 3.0.0:
Use shape_style_mut()
pub fn set_shape_style(&mut self, value: ShapeStyle)
pub fn text_body(&self) -> Option<&TextBody>
pub fn get_text_body(&self) -> Option<&TextBody>
👎Deprecated since 3.0.0:
Use text_body()
pub fn text_body_mut(&mut self) -> Option<&mut TextBody>
pub fn get_text_body_mut(&mut self) -> Option<&mut TextBody>
👎Deprecated since 3.0.0:
Use text_body_mut()
pub fn set_text_body(&mut self, value: TextBody)
pub fn get_macro(&self) -> &str
pub fn set_macro<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 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