pub struct ShapeProperties { /* private fields */ }Implementations§
Source§impl ShapeProperties
impl ShapeProperties
pub fn transform2d(&self) -> Option<&Transform2D>
pub fn get_transform2d(&self) -> Option<&Transform2D>
👎Deprecated since 3.0.0:
Use transform2d()
pub fn transform2d_mut(&mut self) -> Option<&mut Transform2D>
pub fn get_transform2d_mut(&mut self) -> Option<&mut Transform2D>
👎Deprecated since 3.0.0:
Use transform2d_mut()
pub fn set_transform2d(&mut self, value: Transform2D) -> &mut Self
pub fn geometry(&self) -> &PresetGeometry
pub fn get_geometry(&self) -> &PresetGeometry
👎Deprecated since 3.0.0:
Use geometry()
pub fn geometry_mut(&mut self) -> &mut PresetGeometry
pub fn get_geometry_mut(&mut self) -> &mut PresetGeometry
👎Deprecated since 3.0.0:
Use geometry_mut()
pub fn set_geometry(&mut self, value: PresetGeometry) -> &mut Self
pub fn blip_fill(&self) -> Option<&BlipFill>
pub fn get_blip_fill(&self) -> Option<&BlipFill>
👎Deprecated since 3.0.0:
Use blip_fill()
pub fn blip_fill_mut(&mut self) -> Option<&mut BlipFill>
pub fn get_blip_fill_mut(&mut self) -> Option<&mut BlipFill>
👎Deprecated since 3.0.0:
Use blip_fill_mut()
pub fn set_blip_fill(&mut self, value: BlipFill) -> &mut Self
pub fn solid_fill(&self) -> Option<&SolidFill>
pub fn get_solid_fill(&self) -> Option<&SolidFill>
👎Deprecated since 3.0.0:
Use solid_fill()
pub fn solid_fill_mut(&mut self) -> Option<&mut SolidFill>
pub fn get_solid_fill_mut(&mut self) -> Option<&mut SolidFill>
👎Deprecated since 3.0.0:
Use solid_fill_mut()
pub fn set_solid_fill(&mut self, value: SolidFill) -> &mut Self
pub fn gradient_fill(&self) -> Option<&GradientFill>
pub fn get_gradient_fill(&self) -> Option<&GradientFill>
👎Deprecated since 3.0.0:
Use gradient_fill()
pub fn gradient_fill_mut(&mut self) -> Option<&mut GradientFill>
pub fn get_gradient_fill_mut(&mut self) -> Option<&mut GradientFill>
👎Deprecated since 3.0.0:
Use gradient_fill_mut()
pub fn set_gradient_fill(&mut self, value: GradientFill) -> &mut Self
pub fn outline(&self) -> Option<&Outline>
pub fn get_outline(&self) -> Option<&Outline>
👎Deprecated since 3.0.0:
Use outline()
pub fn outline_mut(&mut self) -> Option<&mut Outline>
pub fn get_outline_mut(&mut self) -> Option<&mut Outline>
👎Deprecated since 3.0.0:
Use outline_mut()
pub fn set_outline(&mut self, value: Outline) -> &mut Self
pub fn effect_list(&self) -> Option<&EffectList>
pub fn get_effect_list(&self) -> Option<&EffectList>
👎Deprecated since 3.0.0:
Use effect_list()
pub fn effect_list_mut(&mut self) -> Option<&mut EffectList>
pub fn get_effect_list_mut(&mut self) -> Option<&mut EffectList>
👎Deprecated since 3.0.0:
Use effect_list_mut()
pub fn set_effect_list(&mut self, value: EffectList) -> &mut Self
pub fn no_fill(&self) -> Option<&NoFill>
pub fn get_no_fill(&self) -> Option<&NoFill>
👎Deprecated since 3.0.0:
Use no_fill()
pub fn no_fill_mut(&mut self) -> Option<&mut NoFill>
pub fn get_no_fill_mut(&mut self) -> Option<&mut NoFill>
👎Deprecated since 3.0.0:
Use no_fill_mut()
pub fn set_no_fill(&mut self, value: NoFill) -> &mut Self
pub fn extension_list(&self) -> Option<&ExtensionList>
pub fn get_extension_list(&self) -> Option<&ExtensionList>
👎Deprecated since 3.0.0:
Use extension_list()
pub fn extension_list_mut(&mut self) -> Option<&mut ExtensionList>
pub fn get_extension_list_mut(&mut self) -> Option<&mut ExtensionList>
👎Deprecated since 3.0.0:
Use extension_list_mut()
pub fn set_extension_list(&mut self, value: ExtensionList) -> &mut Self
pub fn black_white_mode(&self) -> &BlackWhiteModeValues
pub fn get_black_white_mode(&self) -> &BlackWhiteModeValues
👎Deprecated since 3.0.0:
Use black_white_mode()
pub fn set_black_white_mode(&mut self, value: BlackWhiteModeValues) -> &mut Self
Trait Implementations§
Source§impl Clone for ShapeProperties
impl Clone for ShapeProperties
Source§fn clone(&self) -> ShapeProperties
fn clone(&self) -> ShapeProperties
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 ShapeProperties
impl Debug for ShapeProperties
Source§impl Default for ShapeProperties
impl Default for ShapeProperties
Source§fn default() -> ShapeProperties
fn default() -> ShapeProperties
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShapeProperties
impl RefUnwindSafe for ShapeProperties
impl Send for ShapeProperties
impl Sync for ShapeProperties
impl Unpin for ShapeProperties
impl UnsafeUnpin for ShapeProperties
impl UnwindSafe for ShapeProperties
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