pub enum WindowCorners {
Round,
Small,
Square,
}Expand description
The corners asked of the system for a window drawn by the application
(window.corners), where it can round them (Windows 11).
Variants§
Round
The system’s rounded corners. The default.
Small
The system’s small rounded corners.
Square
Square corners.
Implementations§
Trait Implementations§
Source§impl Clone for WindowCorners
impl Clone for WindowCorners
Source§fn clone(&self) -> WindowCorners
fn clone(&self) -> WindowCorners
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 WindowCorners
impl Debug for WindowCorners
Source§impl Default for WindowCorners
impl Default for WindowCorners
Source§fn default() -> WindowCorners
fn default() -> WindowCorners
Returns the “default value” for a type. Read more
Source§impl PartialEq for WindowCorners
impl PartialEq for WindowCorners
impl Copy for WindowCorners
impl Eq for WindowCorners
impl StructuralPartialEq for WindowCorners
Auto Trait Implementations§
impl Freeze for WindowCorners
impl RefUnwindSafe for WindowCorners
impl Send for WindowCorners
impl Sync for WindowCorners
impl Unpin for WindowCorners
impl UnsafeUnpin for WindowCorners
impl UnwindSafe for WindowCorners
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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