[−][src]Struct wita::WindowProxy
The object is like Window, can send to other threads.
Implementations
impl WindowProxy
[src]
pub fn title(&self) -> String
[src]
pub fn set_title(&self, title: impl AsRef<str>)
[src]
pub fn position(&self) -> ScreenPosition
[src]
pub fn set_position(&self, position: ScreenPosition)
[src]
pub fn inner_size(&self) -> PhysicalSize<u32>
[src]
pub fn set_inner_size(&self, size: impl ToPhysicalSize<u32>)
[src]
pub fn dpi(&self) -> u32
[src]
pub fn scale_factor(&self) -> f32
[src]
pub fn show(&self)
[src]
pub fn hide(&self)
[src]
pub fn redraw(&self)
[src]
pub fn is_closed(&self) -> bool
[src]
pub fn close(&self)
[src]
pub fn raw_handle(&self) -> *const c_void
[src]
pub fn ime_position(&self) -> PhysicalPosition<i32>
[src]
pub fn enable_ime(&self)
[src]
pub fn disable_ime(&self)
[src]
pub fn set_ime_position(&self, position: impl ToPhysicalPosition<i32>)
[src]
pub fn style(&self) -> WindowStyle
[src]
pub fn set_style(&self, style: impl Style)
[src]
pub fn accept_drag_files(&self, enabled: bool)
[src]
Trait Implementations
impl Clone for WindowProxy
[src]
fn clone(&self) -> WindowProxy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for WindowProxy
[src]
impl Send for WindowProxy
[src]
impl Sync for WindowProxy
[src]
impl Unpin for WindowProxy
[src]
impl UnwindSafe for WindowProxy
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,