pub enum WindowType {
WindowSpec(WindowSpec),
NamedWindow(Ident),
}
Variants§
WindowSpec(WindowSpec)
NamedWindow(Ident)
Trait Implementations§
Source§impl Clone for WindowType
impl Clone for WindowType
Source§fn clone(&self) -> WindowType
fn clone(&self) -> WindowType
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 WindowType
impl Debug for WindowType
Source§impl<'de> Deserialize<'de> for WindowType
impl<'de> Deserialize<'de> for WindowType
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
Source§impl Display for WindowType
impl Display for WindowType
Source§impl Hash for WindowType
impl Hash for WindowType
Source§impl Ord for WindowType
impl Ord for WindowType
Source§fn cmp(&self, other: &WindowType) -> Ordering
fn cmp(&self, other: &WindowType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WindowType
impl PartialEq for WindowType
Source§impl PartialOrd for WindowType
impl PartialOrd for WindowType
Source§impl Serialize for WindowType
impl Serialize for WindowType
Source§impl Visit for WindowType
impl Visit for WindowType
Source§impl VisitMut for WindowType
impl VisitMut for WindowType
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for WindowType
impl StructuralPartialEq for WindowType
Auto Trait Implementations§
impl Freeze for WindowType
impl RefUnwindSafe for WindowType
impl Send for WindowType
impl Sync for WindowType
impl Unpin for WindowType
impl UnwindSafe for WindowType
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