Struct rich_sdl2_rust::window::BorderWidths
source · 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<BorderWidths> for BorderWidths
impl PartialEq<BorderWidths> 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 ==
.