#[non_exhaustive]pub enum ContainerTarget {
Parent,
Itself,
Auto,
}Expand description
The container that an action operates on.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Parent
The parent container of the window. This is the default.
Itself
The window itself.
The action has no effect if the window is not a container.
Auto
The window itself if it is a container, otherwise its parent container.
Trait Implementations§
Source§impl Clone for ContainerTarget
impl Clone for ContainerTarget
impl Copy for ContainerTarget
Source§impl Debug for ContainerTarget
impl Debug for ContainerTarget
Source§impl Default for ContainerTarget
impl Default for ContainerTarget
Source§impl<'de> Deserialize<'de> for ContainerTarget
impl<'de> Deserialize<'de> for ContainerTarget
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
impl Eq for ContainerTarget
Source§impl Hash for ContainerTarget
impl Hash for ContainerTarget
Source§impl PartialEq for ContainerTarget
impl PartialEq for ContainerTarget
Source§impl Serialize for ContainerTarget
impl Serialize for ContainerTarget
impl StructuralPartialEq for ContainerTarget
Auto Trait Implementations§
impl Freeze for ContainerTarget
impl RefUnwindSafe for ContainerTarget
impl Send for ContainerTarget
impl Sync for ContainerTarget
impl Unpin for ContainerTarget
impl UnsafeUnpin for ContainerTarget
impl UnwindSafe for ContainerTarget
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