pub struct Sides<T> {
pub top: T,
pub right: T,
pub bottom: T,
pub left: T,
}Expand description
One value per side of a box, in the CSS order.
Fields§
§top: T§right: T§bottom: T§left: TImplementations§
Trait Implementations§
impl<T: Copy> Copy for Sides<T>
impl<T: Eq> Eq for Sides<T>
impl<T: PartialEq> StructuralPartialEq for Sides<T>
Auto Trait Implementations§
impl<T> Freeze for Sides<T>where
T: Freeze,
impl<T> RefUnwindSafe for Sides<T>where
T: RefUnwindSafe,
impl<T> Send for Sides<T>where
T: Send,
impl<T> Sync for Sides<T>where
T: Sync,
impl<T> Unpin for Sides<T>where
T: Unpin,
impl<T> UnsafeUnpin for Sides<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Sides<T>where
T: UnwindSafe,
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