pub enum SurfaceAlign {
Start,
Center,
End,
}Expand description
Cross-axis alignment along the anchored edge (e.g. left/centre/right for a top-anchored surface).
Variants§
Trait Implementations§
Source§impl Clone for SurfaceAlign
impl Clone for SurfaceAlign
Source§fn clone(&self) -> SurfaceAlign
fn clone(&self) -> SurfaceAlign
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 SurfaceAlign
Source§impl Debug for SurfaceAlign
impl Debug for SurfaceAlign
impl Eq for SurfaceAlign
Source§impl PartialEq for SurfaceAlign
impl PartialEq for SurfaceAlign
impl StructuralPartialEq for SurfaceAlign
Auto Trait Implementations§
impl Freeze for SurfaceAlign
impl RefUnwindSafe for SurfaceAlign
impl Send for SurfaceAlign
impl Sync for SurfaceAlign
impl Unpin for SurfaceAlign
impl UnsafeUnpin for SurfaceAlign
impl UnwindSafe for SurfaceAlign
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.