1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#![allow(unused_imports)]
use super::{BorderSide, ShapeBorder};
pub trait OutlinedBorder: ShapeBorder {
// pub side: BorderSide,
// Returns a copy of this OutlinedBorder that draws its outline with the specified side, if side is non-null.
// fn copy_with(&self, side: Option<BorderSide>) -> Box<dyn OutlinedBorder>;
}
#[derive(Default)]
pub struct NoneOutlinedBorder;
impl OutlinedBorder for NoneOutlinedBorder {
}
impl ShapeBorder for NoneOutlinedBorder {
}
// impl Default for OutlinedBorder {
// fn default() -> Self {
// Self {
// side: Default::default(),
// }
// }
// }