pub struct Alignment { /* private fields */ }Implementations§
Source§impl Alignment
impl Alignment
pub fn horizontal(&self) -> &HorizontalAlignmentValues
pub fn get_horizontal(&self) -> &HorizontalAlignmentValues
👎Deprecated since 3.0.0:
Use horizontal()
pub fn set_horizontal(&mut self, value: HorizontalAlignmentValues)
pub fn vertical(&self) -> &VerticalAlignmentValues
pub fn get_vertical(&self) -> &VerticalAlignmentValues
👎Deprecated since 3.0.0:
Use vertical()
pub fn set_vertical(&mut self, value: VerticalAlignmentValues)
pub fn wrap_text(&self) -> bool
pub fn get_wrap_text(&self) -> bool
👎Deprecated since 3.0.0:
Use wrap_text()
pub fn set_wrap_text(&mut self, value: bool)
pub fn text_rotation(&self) -> u32
pub fn get_text_rotation(&self) -> u32
👎Deprecated since 3.0.0:
Use text_rotation()
pub fn set_text_rotation(&mut self, value: u32)
Trait Implementations§
impl Eq for Alignment
Source§impl Ord for Alignment
impl Ord for Alignment
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Alignment
impl PartialOrd for Alignment
impl StructuralPartialEq for Alignment
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnsafeUnpin for Alignment
impl UnwindSafe for Alignment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.