pub struct BorderConfig {
pub color: Color,
pub width: BorderWidth,
}Fields§
§color: Color§width: BorderWidthTrait Implementations§
Source§impl Clone for BorderConfig
impl Clone for BorderConfig
Source§fn clone(&self) -> BorderConfig
fn clone(&self) -> BorderConfig
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 BorderConfig
impl Debug for BorderConfig
Source§impl Default for BorderConfig
impl Default for BorderConfig
Source§fn default() -> BorderConfig
fn default() -> BorderConfig
Returns the “default value” for a type. Read more
impl Copy for BorderConfig
Auto Trait Implementations§
impl Freeze for BorderConfig
impl RefUnwindSafe for BorderConfig
impl Send for BorderConfig
impl Sync for BorderConfig
impl Unpin for BorderConfig
impl UnsafeUnpin for BorderConfig
impl UnwindSafe for BorderConfig
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