Struct rich_sdl2_rust::window::BorderWidths
source · 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
source§fn eq(&self, other: &BorderWidths) -> bool
fn eq(&self, other: &BorderWidths) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BorderWidths
impl Eq for BorderWidths
impl StructuralPartialEq for BorderWidths
Auto Trait Implementations§
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