Enum orbtk_orbclient::WindowRequest
source · [−]pub enum WindowRequest {
ChangeTitle(String),
Close,
Redraw,
}
Expand description
Used to send a request to the window.
Variants
ChangeTitle(String)
Request to change the title of the Windows
.
Close
Request to close the Windows
.
Redraw
Request redraw of the Windows
s content.
Trait Implementations
sourceimpl Clone for WindowRequest
impl Clone for WindowRequest
sourcefn clone(&self) -> WindowRequest
fn clone(&self) -> WindowRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WindowRequest
impl Debug for WindowRequest
sourceimpl PartialEq<WindowRequest> for WindowRequest
impl PartialEq<WindowRequest> for WindowRequest
sourcefn eq(&self, other: &WindowRequest) -> bool
fn eq(&self, other: &WindowRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WindowRequest) -> bool
fn ne(&self, other: &WindowRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for WindowRequest
Auto Trait Implementations
impl RefUnwindSafe for WindowRequest
impl Send for WindowRequest
impl Sync for WindowRequest
impl Unpin for WindowRequest
impl UnwindSafe for WindowRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more