pub struct WindowEdge {
pub stroke: Stroke,
pub corners: CornerRadius,
}Expand description
The line and corners of the current window’s own edge
(window_edge).
Fields§
§stroke: StrokeThe line around the window (outline).
corners: CornerRadiusIts corners (corner_radius); square without rounding.
Trait Implementations§
Source§impl Clone for WindowEdge
impl Clone for WindowEdge
Source§fn clone(&self) -> WindowEdge
fn clone(&self) -> WindowEdge
Returns a duplicate 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 WindowEdge
impl Debug for WindowEdge
Source§impl Default for WindowEdge
impl Default for WindowEdge
Source§fn default() -> WindowEdge
fn default() -> WindowEdge
Returns the “default value” for a type. Read more
Source§impl PartialEq for WindowEdge
impl PartialEq for WindowEdge
impl Copy for WindowEdge
impl StructuralPartialEq for WindowEdge
Auto Trait Implementations§
impl Freeze for WindowEdge
impl RefUnwindSafe for WindowEdge
impl Send for WindowEdge
impl Sync for WindowEdge
impl Unpin for WindowEdge
impl UnsafeUnpin for WindowEdge
impl UnwindSafe for WindowEdge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more