pub enum BoxBorder {
Physical(Border),
Directional(BorderDirectional),
}Expand description
What a decoration is made of — its shape, its sides, its border’s two forms, its shadows’ blur — and the shapes a border can take. A box’s border, by its physical sides or by the line’s start and end.
Variants§
Implementations§
Trait Implementations§
impl Copy for BoxBorder
Source§impl From<BorderDirectional> for BoxBorder
impl From<BorderDirectional> for BoxBorder
Source§fn from(border: BorderDirectional) -> BoxBorder
fn from(border: BorderDirectional) -> BoxBorder
Converts to this type from the input type.
impl StructuralPartialEq for BoxBorder
Auto Trait Implementations§
impl Freeze for BoxBorder
impl RefUnwindSafe for BoxBorder
impl Send for BoxBorder
impl Sync for BoxBorder
impl Unpin for BoxBorder
impl UnsafeUnpin for BoxBorder
impl UnwindSafe for BoxBorder
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