pub enum OverlayAlign {
Start,
Center,
End,
}Expand description
How a floated surface lines up with its anchor on the cross axis.
Variants§
Start
Leading edges flush (left edges for a Top/Bottom side, top edges for
a Left/Right one).
Center
Centres flush — the default.
End
Trailing edges flush.
Trait Implementations§
Source§impl Clone for OverlayAlign
impl Clone for OverlayAlign
impl Copy for OverlayAlign
Source§impl Debug for OverlayAlign
impl Debug for OverlayAlign
Source§impl Default for OverlayAlign
impl Default for OverlayAlign
impl Eq for OverlayAlign
Source§impl PartialEq for OverlayAlign
impl PartialEq for OverlayAlign
impl StructuralPartialEq for OverlayAlign
Auto Trait Implementations§
impl Freeze for OverlayAlign
impl RefUnwindSafe for OverlayAlign
impl Send for OverlayAlign
impl Sync for OverlayAlign
impl Unpin for OverlayAlign
impl UnsafeUnpin for OverlayAlign
impl UnwindSafe for OverlayAlign
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
impl<T> Brush for T
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.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.