pub struct BorderWidths {
pub top: u32,
pub right: u32,
pub bottom: u32,
pub left: u32,
}
Expand description
A border widths for the window.
Fields§
§top: u32
A border width on the top.
right: u32
A border width on the right.
bottom: u32
A border width on the bottom.
left: u32
A border width on the left.
Trait Implementations§
Source§impl Clone for BorderWidths
impl Clone for BorderWidths
Source§fn clone(&self) -> BorderWidths
fn clone(&self) -> BorderWidths
Returns a copy 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 BorderWidths
impl Debug for BorderWidths
Source§impl PartialEq for BorderWidths
impl PartialEq for BorderWidths
impl Copy for BorderWidths
impl Eq for BorderWidths
impl StructuralPartialEq for BorderWidths
Auto Trait Implementations§
impl Freeze for BorderWidths
impl RefUnwindSafe for BorderWidths
impl Send for BorderWidths
impl Sync for BorderWidths
impl Unpin for BorderWidths
impl UnwindSafe for BorderWidths
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