pub enum WindowButton {
Close,
Minimize,
Maximize,
}Variants§
Implementations§
Source§impl WindowButton
impl WindowButton
Sourcepub fn command(self, window: WindowId) -> WindowCommand
pub fn command(self, window: WindowId) -> WindowCommand
The command a click on this button issues, for the window the button was drawn in.
Trait Implementations§
Source§impl Clone for WindowButton
impl Clone for WindowButton
impl Copy for WindowButton
Source§impl Debug for WindowButton
impl Debug for WindowButton
impl Eq for WindowButton
Source§impl Hash for WindowButton
impl Hash for WindowButton
Source§impl PartialEq for WindowButton
impl PartialEq for WindowButton
impl StructuralPartialEq for WindowButton
Auto Trait Implementations§
impl Freeze for WindowButton
impl RefUnwindSafe for WindowButton
impl Send for WindowButton
impl Sync for WindowButton
impl Unpin for WindowButton
impl UnsafeUnpin for WindowButton
impl UnwindSafe for WindowButton
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.