#[non_exhaustive]pub enum FloatingCorner {
TopLeft,
TopRight,
BottomLeft,
BottomRight,
}Expand description
A corner of the window, where a FloatingPanel rests.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FloatingCorner
impl Clone for FloatingCorner
Source§fn clone(&self) -> FloatingCorner
fn clone(&self) -> FloatingCorner
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 FloatingCorner
Source§impl Debug for FloatingCorner
impl Debug for FloatingCorner
Source§impl Default for FloatingCorner
impl Default for FloatingCorner
Source§fn default() -> FloatingCorner
fn default() -> FloatingCorner
Returns the “default value” for a type. Read more
impl Eq for FloatingCorner
Source§impl PartialEq for FloatingCorner
impl PartialEq for FloatingCorner
impl StructuralPartialEq for FloatingCorner
Auto Trait Implementations§
impl Freeze for FloatingCorner
impl RefUnwindSafe for FloatingCorner
impl Send for FloatingCorner
impl Sync for FloatingCorner
impl Unpin for FloatingCorner
impl UnsafeUnpin for FloatingCorner
impl UnwindSafe for FloatingCorner
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
impl<T> Brush for T
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