Struct void_app_api::CellLayout
source · pub struct CellLayout { /* private fields */ }
Implementations§
source§impl CellLayout
impl CellLayout
pub fn centered() -> Self
pub fn text(self, text: Text) -> 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
Auto Trait Implementations§
impl Freeze for CellLayout
impl RefUnwindSafe for CellLayout
impl Send for CellLayout
impl Sync for CellLayout
impl Unpin for CellLayout
impl UnwindSafe for CellLayout
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