#[repr(i16)]pub enum CellAlignment {
TopLeft = 1,
TopCenter = 2,
TopRight = 3,
MiddleLeft = 4,
MiddleCenter = 5,
MiddleRight = 6,
BottomLeft = 7,
BottomCenter = 8,
BottomRight = 9,
}Expand description
Cell alignment within the cell bounds.
Variants§
TopLeft = 1
Top left alignment.
TopCenter = 2
Top center alignment.
TopRight = 3
Top right alignment.
MiddleLeft = 4
Middle left alignment.
MiddleCenter = 5
Middle center alignment (default).
MiddleRight = 6
Middle right alignment.
BottomLeft = 7
Bottom left alignment.
BottomCenter = 8
Bottom center alignment.
BottomRight = 9
Bottom right alignment.
Implementations§
Source§impl CellAlignment
impl CellAlignment
Trait Implementations§
Source§impl Clone for CellAlignment
impl Clone for CellAlignment
Source§fn clone(&self) -> CellAlignment
fn clone(&self) -> CellAlignment
Returns a duplicate of the value. Read more
1.0.0 · 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 CellAlignment
impl Debug for CellAlignment
Source§impl Default for CellAlignment
impl Default for CellAlignment
Source§fn default() -> CellAlignment
fn default() -> CellAlignment
Returns the “default value” for a type. Read more
Source§impl From<i16> for CellAlignment
impl From<i16> for CellAlignment
Source§impl PartialEq for CellAlignment
impl PartialEq for CellAlignment
impl Copy for CellAlignment
impl Eq for CellAlignment
impl StructuralPartialEq for CellAlignment
Auto Trait Implementations§
impl Freeze for CellAlignment
impl RefUnwindSafe for CellAlignment
impl Send for CellAlignment
impl Sync for CellAlignment
impl Unpin for CellAlignment
impl UnsafeUnpin for CellAlignment
impl UnwindSafe for CellAlignment
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> 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.