pub struct TextCell { /* private fields */ }
Implementations§
Source§impl TextCell
impl TextCell
pub fn centered() -> Self
pub fn align_horizontally( self, horizontal_alignment: HorizontalAlignment, ) -> Self
pub fn align_vertically(self, vertical_alignment: VerticalAlignment) -> Self
pub fn offset_horizontally(self, horizontal_offset: i32) -> Self
pub fn offset_vertically(self, vertical_offset: i32) -> Self
pub fn horizontal_offset(&self) -> i32
pub fn vertical_offset(&self) -> i32
pub fn horizontal_alignment(&self) -> HorizontalAlignment
pub fn vertical_alignment(&self) -> VerticalAlignment
Auto Trait Implementations§
impl Freeze for TextCell
impl RefUnwindSafe for TextCell
impl Send for TextCell
impl Sync for TextCell
impl Unpin for TextCell
impl UnwindSafe for TextCell
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