pub struct Border {
pub l: u32,
pub r: u32,
pub t: u32,
pub b: u32,
}
Expand description
Border provides a simple way to store border values
Fields§
§l: u32
§r: u32
§t: u32
§b: u32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Border
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnwindSafe for Border
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