#[non_exhaustive]pub enum WindowAnchor {
NorthWest,
NorthEast,
SouthWest,
SouthEast,
}
Expand description
Specifies which corner of a floating window to place at (row, col)
.
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 WindowAnchor
impl Clone for WindowAnchor
Source§fn clone(&self) -> WindowAnchor
fn clone(&self) -> WindowAnchor
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 WindowAnchor
impl Debug for WindowAnchor
Source§impl<'de> Deserialize<'de> for WindowAnchor
impl<'de> Deserialize<'de> for WindowAnchor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<WindowAnchor> for Object
impl From<WindowAnchor> for Object
Source§fn from(anchor: WindowAnchor) -> Self
fn from(anchor: WindowAnchor) -> Self
Converts to this type from the input type.
Source§impl Hash for WindowAnchor
impl Hash for WindowAnchor
Source§impl PartialEq for WindowAnchor
impl PartialEq for WindowAnchor
impl Copy for WindowAnchor
impl Eq for WindowAnchor
impl StructuralPartialEq for WindowAnchor
Auto Trait Implementations§
impl Freeze for WindowAnchor
impl RefUnwindSafe for WindowAnchor
impl Send for WindowAnchor
impl Sync for WindowAnchor
impl Unpin for WindowAnchor
impl UnwindSafe for WindowAnchor
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