pub enum LayoutPosition {
Static,
Relative,
Absolute,
Fixed,
}
Expand description
Represents a position
attribute - default: Static
NOTE: No inline positioning is supported.
Variants§
Trait Implementations§
Source§impl Clone for LayoutPosition
impl Clone for LayoutPosition
Source§fn clone(&self) -> LayoutPosition
fn clone(&self) -> LayoutPosition
Returns a copy 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 LayoutPosition
impl Debug for LayoutPosition
Source§impl Default for LayoutPosition
impl Default for LayoutPosition
Source§impl From<LayoutPosition> for CssProperty
impl From<LayoutPosition> for CssProperty
Source§fn from(e: LayoutPosition) -> Self
fn from(e: LayoutPosition) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutPosition
impl Hash for LayoutPosition
Source§impl Ord for LayoutPosition
impl Ord for LayoutPosition
Source§fn cmp(&self, other: &LayoutPosition) -> Ordering
fn cmp(&self, other: &LayoutPosition) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayoutPosition
impl PartialEq for LayoutPosition
Source§impl PartialOrd for LayoutPosition
impl PartialOrd for LayoutPosition
impl Copy for LayoutPosition
impl Eq for LayoutPosition
impl StructuralPartialEq for LayoutPosition
Auto Trait Implementations§
impl Freeze for LayoutPosition
impl RefUnwindSafe for LayoutPosition
impl Send for LayoutPosition
impl Sync for LayoutPosition
impl Unpin for LayoutPosition
impl UnwindSafe for LayoutPosition
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)