pub struct Edges<T> {
pub top: T,
pub right: T,
pub bottom: T,
pub left: T,
}Expand description
Four edge values, one per side of a box.
Fields§
§top: TValue for the top edge.
right: TValue for the right edge.
bottom: TValue for the bottom edge.
left: TValue for the left edge.
Implementations§
Trait Implementations§
impl<T: Copy> Copy for Edges<T>
impl<T: PartialEq> StructuralPartialEq for Edges<T>
Auto Trait Implementations§
impl<T> Forget for Edges<T>
impl<T> Freeze for Edges<T>where
T: Freeze,
impl<T> Move for Edges<T>
impl<T> RefUnwindSafe for Edges<T>where
T: RefUnwindSafe,
impl<T> Send for Edges<T>where
T: Send,
impl<T> Sync for Edges<T>where
T: Sync,
impl<T> Unpin for Edges<T>where
T: Unpin,
impl<T> UnsafeUnpin for Edges<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Edges<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