pub struct BodyProperties { /* private fields */ }Implementations§
Source§impl BodyProperties
impl BodyProperties
pub fn vert_overflow(&self) -> Option<&str>
pub fn get_vert_overflow(&self) -> Option<&str>
👎Deprecated since 3.0.0:
Use vert_overflow()
pub fn set_vert_overflow<S: Into<String>>( &mut self, value: S, ) -> &mut BodyProperties
pub fn horz_overflow(&self) -> Option<&str>
pub fn get_horz_overflow(&self) -> Option<&str>
👎Deprecated since 3.0.0:
Use horz_overflow()
pub fn set_horz_overflow<S: Into<String>>( &mut self, value: S, ) -> &mut BodyProperties
pub fn rtl_col(&self) -> Option<&str>
pub fn get_rtl_col(&self) -> Option<&str>
👎Deprecated since 3.0.0:
Use rtl_col()
pub fn set_rtl_col<S: Into<String>>(&mut self, value: S) -> &mut BodyProperties
pub fn anchor(&self) -> Option<&str>
pub fn get_anchor(&self) -> Option<&str>
👎Deprecated since 3.0.0:
Use anchor()
pub fn set_anchor<S: Into<String>>(&mut self, value: S) -> &mut BodyProperties
pub fn wrap(&self) -> &TextWrappingValues
pub fn get_wrap(&self) -> &TextWrappingValues
👎Deprecated since 3.0.0:
Use wrap()
pub fn set_wrap(&mut self, value: TextWrappingValues) -> &mut BodyProperties
pub fn rotation(&self) -> i32
pub fn get_rotation(&self) -> i32
👎Deprecated since 3.0.0:
Use rotation()
pub fn set_rotation(&mut self, value: i32)
pub fn left_inset(&self) -> i32
pub fn get_left_inset(&self) -> i32
👎Deprecated since 3.0.0:
Use left_inset()
pub fn set_left_inset(&mut self, value: i32)
pub fn top_inset(&self) -> i32
pub fn get_top_inset(&self) -> i32
👎Deprecated since 3.0.0:
Use top_inset()
pub fn set_top_inset(&mut self, value: i32)
pub fn right_inset(&self) -> i32
pub fn get_right_inset(&self) -> i32
👎Deprecated since 3.0.0:
Use right_inset()
pub fn set_right_inset(&mut self, value: i32)
pub fn bottom_inset(&self) -> i32
pub fn get_bottom_inset(&self) -> i32
👎Deprecated since 3.0.0:
Use bottom_inset()
pub fn set_bottom_inset(&mut self, value: i32)
pub fn shape_auto_fit(&self) -> Option<&ShapeAutoFit>
pub fn use_paragraph_spacing(&self) -> bool
pub fn get_use_paragraph_spacing(&self) -> bool
👎Deprecated since 3.0.0:
Use use_paragraph_spacing()
pub fn set_use_paragraph_spacing(&mut self, value: bool)
pub fn get_shape_auto_fit(&self) -> Option<&ShapeAutoFit>
👎Deprecated since 3.0.0:
Use shape_auto_fit()
pub fn set_shape_auto_fit(&mut self, value: ShapeAutoFit) -> &mut BodyProperties
Trait Implementations§
Source§impl Clone for BodyProperties
impl Clone for BodyProperties
Source§fn clone(&self) -> BodyProperties
fn clone(&self) -> BodyProperties
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 BodyProperties
impl Debug for BodyProperties
Source§impl Default for BodyProperties
impl Default for BodyProperties
Source§fn default() -> BodyProperties
fn default() -> BodyProperties
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BodyProperties
impl RefUnwindSafe for BodyProperties
impl Send for BodyProperties
impl Sync for BodyProperties
impl Unpin for BodyProperties
impl UnsafeUnpin for BodyProperties
impl UnwindSafe for BodyProperties
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