pub struct Border { /* private fields */ }Expand description
Border Style
Implementations§
Source§impl Border
impl Border
Sourcepub fn top_style(self, v: impl Into<BorderStyle>) -> Self
pub fn top_style(self, v: impl Into<BorderStyle>) -> Self
Set top_style
Sourcepub fn right_color(self, v: impl Into<Color>) -> Self
pub fn right_color(self, v: impl Into<Color>) -> Self
Set right_color
Sourcepub fn right_style(self, v: impl Into<BorderStyle>) -> Self
pub fn right_style(self, v: impl Into<BorderStyle>) -> Self
Set right_style
Sourcepub fn right_width(self, v: impl Into<Unit>) -> Self
pub fn right_width(self, v: impl Into<Unit>) -> Self
Set right_width
Sourcepub fn bottom_color(self, v: impl Into<Color>) -> Self
pub fn bottom_color(self, v: impl Into<Color>) -> Self
Set bottom_color
Sourcepub fn bottom_style(self, v: impl Into<BorderStyle>) -> Self
pub fn bottom_style(self, v: impl Into<BorderStyle>) -> Self
Set bottom_style
Sourcepub fn bottom_width(self, v: impl Into<Unit>) -> Self
pub fn bottom_width(self, v: impl Into<Unit>) -> Self
Set bottom_width
Sourcepub fn left_color(self, v: impl Into<Color>) -> Self
pub fn left_color(self, v: impl Into<Color>) -> Self
Set left_color
Sourcepub fn left_style(self, v: impl Into<BorderStyle>) -> Self
pub fn left_style(self, v: impl Into<BorderStyle>) -> Self
Set left_style
Sourcepub fn left_width(self, v: impl Into<Unit>) -> Self
pub fn left_width(self, v: impl Into<Unit>) -> Self
Set left_width
Sourcepub fn top_left_radius(self, v: impl Into<Unit>) -> Self
pub fn top_left_radius(self, v: impl Into<Unit>) -> Self
Set top_left_radius
Sourcepub fn top_right_radius(self, v: impl Into<Unit>) -> Self
pub fn top_right_radius(self, v: impl Into<Unit>) -> Self
Set top_right_radius
Sourcepub fn bottom_right_radius(self, v: impl Into<Unit>) -> Self
pub fn bottom_right_radius(self, v: impl Into<Unit>) -> Self
Set bottom_right_radius
Sourcepub fn bottom_left_radius(self, v: impl Into<Unit>) -> Self
pub fn bottom_left_radius(self, v: impl Into<Unit>) -> Self
Set bottom_left_radius
Sourcepub fn second_top_left_radius(self, v: impl Into<Unit>) -> Self
pub fn second_top_left_radius(self, v: impl Into<Unit>) -> Self
Set second_top_left_radius
Sourcepub fn second_top_right_radius(self, v: impl Into<Unit>) -> Self
pub fn second_top_right_radius(self, v: impl Into<Unit>) -> Self
Set second_top_right_radius
Sourcepub fn second_bottom_right_radius(self, v: impl Into<Unit>) -> Self
pub fn second_bottom_right_radius(self, v: impl Into<Unit>) -> Self
Set second_bottom_right_radius
Sourcepub fn second_bottom_left_radius(self, v: impl Into<Unit>) -> Self
pub fn second_bottom_left_radius(self, v: impl Into<Unit>) -> Self
Set second_bottom_left_radius
Trait Implementations§
Source§impl Ord for Border
impl Ord for Border
Source§impl PartialOrd for Border
impl PartialOrd for Border
impl Eq for Border
impl StructuralPartialEq for Border
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