Enum arc_util::ui::window::WindowPosition
source · pub enum WindowPosition {
Manual,
Anchored {
anchor: WindowAnchor,
x: f32,
y: f32,
},
}
Expand description
Window position onscreen.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for WindowPosition
impl Clone for WindowPosition
source§fn clone(&self) -> WindowPosition
fn clone(&self) -> WindowPosition
Returns a copy 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 WindowPosition
impl Debug for WindowPosition
source§impl Default for WindowPosition
impl Default for WindowPosition
source§impl<'de> Deserialize<'de> for WindowPosition
impl<'de> Deserialize<'de> for WindowPosition
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
Auto Trait Implementations§
impl Freeze for WindowPosition
impl RefUnwindSafe for WindowPosition
impl Send for WindowPosition
impl Sync for WindowPosition
impl Unpin for WindowPosition
impl UnwindSafe for WindowPosition
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