pub enum BorderMode {
Outside,
Inside,
Center,
}Expand description
Border positioning mode.
Variants§
Outside
put border on the outside of shape
Inside
put border on the inside of shape
Center
pub border evenly on the inside and outside of shape
Trait Implementations§
Source§impl Clone for BorderMode
impl Clone for BorderMode
Source§fn clone(&self) -> BorderMode
fn clone(&self) -> BorderMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BorderMode
impl Debug for BorderMode
Source§impl PartialEq for BorderMode
impl PartialEq for BorderMode
impl Copy for BorderMode
impl Eq for BorderMode
impl StructuralPartialEq for BorderMode
Auto Trait Implementations§
impl Freeze for BorderMode
impl RefUnwindSafe for BorderMode
impl Send for BorderMode
impl Sync for BorderMode
impl Unpin for BorderMode
impl UnsafeUnpin for BorderMode
impl UnwindSafe for BorderMode
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