pub struct Border {
pub size: Vec2,
pub horizontal: &'static str,
pub vertical: &'static str,
pub top_left: &'static str,
pub top_right: &'static str,
pub bottom_left: &'static str,
pub bottom_right: &'static str,
}
Expand description
A basic border type. Rendering this will put the next content inside of the function Borders will skip rendering if their size is under a 3x3
Fields§
§size: Vec2
§horizontal: &'static str
§vertical: &'static str
§top_left: &'static str
§top_right: &'static str
§bottom_left: &'static str
§bottom_right: &'static str
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Border
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnwindSafe for Border
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