Enum rerun::external::eframe::egui::X11WindowType
pub enum X11WindowType {
Show 14 variants
Normal,
Desktop,
Dock,
Toolbar,
Menu,
Utility,
Splash,
Dialog,
DropdownMenu,
PopupMenu,
Tooltip,
Notification,
Combo,
Dnd,
}
Variants§
Normal
This is a normal, top-level window.
Desktop
A desktop feature. This can include a single window containing desktop icons with the same dimensions as the screen, allowing the desktop environment to have full control of the desktop, without the need for proxying root window clicks.
Dock
A dock or panel feature. Typically a Window Manager would keep such windows on top of all other windows.
Toolbar
Toolbar windows. “Torn off” from the main application.
Menu
Pinnable menu windows. “Torn off” from the main application.
Utility
A small persistent utility window, such as a palette or toolbox.
Splash
The window is a splash screen displayed as an application is starting up.
Dialog
This is a dialog window.
DropdownMenu
A dropdown menu that usually appears when the user clicks on an item in a menu bar. This property is typically used on override-redirect windows.
PopupMenu
A popup menu that usually appears when the user right clicks on an object. This property is typically used on override-redirect windows.
Tooltip
A tooltip window. Usually used to show additional information when hovering over an object with the cursor. This property is typically used on override-redirect windows.
Notification
The window is a notification. This property is typically used on override-redirect windows.
Combo
This should be used on the windows that are popped up by combo boxes. This property is typically used on override-redirect windows.
Dnd
This indicates the window is being dragged. This property is typically used on override-redirect windows.
Trait Implementations§
§impl Clone for X11WindowType
impl Clone for X11WindowType
§fn clone(&self) -> X11WindowType
fn clone(&self) -> X11WindowType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for X11WindowType
impl Debug for X11WindowType
§impl Default for X11WindowType
impl Default for X11WindowType
§fn default() -> X11WindowType
fn default() -> X11WindowType
§impl<'de> Deserialize<'de> for X11WindowType
impl<'de> Deserialize<'de> for X11WindowType
§fn deserialize<__D>(
__deserializer: __D
) -> Result<X11WindowType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<X11WindowType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl PartialEq for X11WindowType
impl PartialEq for X11WindowType
§fn eq(&self, other: &X11WindowType) -> bool
fn eq(&self, other: &X11WindowType) -> bool
self
and other
values to be equal, and is used
by ==
.§impl Serialize for X11WindowType
impl Serialize for X11WindowType
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for X11WindowType
impl Eq for X11WindowType
impl StructuralPartialEq for X11WindowType
Auto Trait Implementations§
impl Freeze for X11WindowType
impl RefUnwindSafe for X11WindowType
impl Send for X11WindowType
impl Sync for X11WindowType
impl Unpin for X11WindowType
impl UnwindSafe for X11WindowType
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
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.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
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request