pub enum VerticalAlignment {
Top,
Center,
Bottom,
}Expand description
Vertical alignment values for layout options.
Variants§
Implementations§
Source§impl VerticalAlignment
impl VerticalAlignment
pub fn try_from_raw(attr: ArkUI_VerticalAlignment) -> Option<Self>
Trait Implementations§
Source§impl Clone for VerticalAlignment
impl Clone for VerticalAlignment
Source§fn clone(&self) -> VerticalAlignment
fn clone(&self) -> VerticalAlignment
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 moreimpl Copy for VerticalAlignment
Source§impl Debug for VerticalAlignment
impl Debug for VerticalAlignment
impl Eq for VerticalAlignment
Source§impl From<VerticalAlignment> for ArkUI_VerticalAlignment
impl From<VerticalAlignment> for ArkUI_VerticalAlignment
Source§fn from(attr: VerticalAlignment) -> Self
fn from(attr: VerticalAlignment) -> Self
Converts to this type from the input type.
Source§impl From<u32> for VerticalAlignment
impl From<u32> for VerticalAlignment
Source§fn from(attr: ArkUI_VerticalAlignment) -> Self
fn from(attr: ArkUI_VerticalAlignment) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VerticalAlignment
impl PartialEq for VerticalAlignment
impl StructuralPartialEq for VerticalAlignment
Auto Trait Implementations§
impl Freeze for VerticalAlignment
impl RefUnwindSafe for VerticalAlignment
impl Send for VerticalAlignment
impl Sync for VerticalAlignment
impl Unpin for VerticalAlignment
impl UnsafeUnpin for VerticalAlignment
impl UnwindSafe for VerticalAlignment
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