pub struct LayoutTop(pub PixelValue);
Expand description
Represents a top
attribute
Tuple Fields§
§0: PixelValue
Implementations§
Trait Implementations§
Source§impl FormatAsCssValue for LayoutTop
impl FormatAsCssValue for LayoutTop
fn format_as_css_value(&self, f: &mut Formatter<'_>) -> Result
Source§impl From<LayoutTop> for CssProperty
impl From<LayoutTop> for CssProperty
Source§impl Ord for LayoutTop
impl Ord for LayoutTop
Source§impl PartialOrd for LayoutTop
impl PartialOrd for LayoutTop
impl Copy for LayoutTop
impl Eq for LayoutTop
impl StructuralPartialEq for LayoutTop
Auto Trait Implementations§
impl Freeze for LayoutTop
impl RefUnwindSafe for LayoutTop
impl Send for LayoutTop
impl Sync for LayoutTop
impl Unpin for LayoutTop
impl UnwindSafe for LayoutTop
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
)