#[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.
NorthWest
NorthEast
SouthWest
SouthEast
Trait Implementations
sourceimpl Clone for WindowAnchor
impl Clone for WindowAnchor
sourcefn clone(&self) -> WindowAnchor
fn clone(&self) -> WindowAnchor
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for WindowAnchor
impl Debug for WindowAnchor
sourceimpl<'de> Deserialize<'de> for WindowAnchor
impl<'de> Deserialize<'de> for WindowAnchor
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<WindowAnchor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowAnchor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<WindowAnchor> for Object
impl From<WindowAnchor> for Object
sourcefn from(anchor: WindowAnchor) -> Object
fn from(anchor: WindowAnchor) -> Object
Converts to this type from the input type.
sourceimpl Hash for WindowAnchor
impl Hash for WindowAnchor
sourceimpl PartialEq<WindowAnchor> for WindowAnchor
impl PartialEq<WindowAnchor> for WindowAnchor
sourcefn eq(&self, other: &WindowAnchor) -> bool
fn eq(&self, other: &WindowAnchor) -> bool
impl Copy for WindowAnchor
impl Eq for WindowAnchor
impl StructuralEq for WindowAnchor
impl StructuralPartialEq for WindowAnchor
Auto Trait Implementations
impl RefUnwindSafe for WindowAnchor
impl Send for WindowAnchor
impl Sync for WindowAnchor
impl Unpin for WindowAnchor
impl UnwindSafe for WindowAnchor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more