pub struct ResizeBorders {
pub top: f32,
pub right: f32,
pub bottom: f32,
pub left: f32,
}Expand description
Physical-pixel widths of the eight resize edges. Zero means “no resize
border on this side”. The Windows backend uses these to translate
WM_NCHITTEST cursor positions into HTLEFT/HTTOPRIGHT/etc.
Fields§
§top: f32§right: f32§bottom: f32§left: f32Implementations§
Trait Implementations§
Source§impl Clone for ResizeBorders
impl Clone for ResizeBorders
Source§fn clone(&self) -> ResizeBorders
fn clone(&self) -> ResizeBorders
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResizeBorders
Source§impl Debug for ResizeBorders
impl Debug for ResizeBorders
Source§impl Default for ResizeBorders
impl Default for ResizeBorders
Source§fn default() -> ResizeBorders
fn default() -> ResizeBorders
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResizeBorders
impl RefUnwindSafe for ResizeBorders
impl Send for ResizeBorders
impl Sync for ResizeBorders
impl Unpin for ResizeBorders
impl UnsafeUnpin for ResizeBorders
impl UnwindSafe for ResizeBorders
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