pub enum BoxBorder {
Physical(Border),
Directional(BorderDirectional),
}Expand description
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) -> Self
fn from(border: BorderDirectional) -> Self
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