[][src]Enum penrose::core::data_types::PropVal

pub enum PropVal<'a> {
    Atom(&'a [u32]),
    Cardinal(&'a [u32]),
    Str(&'a str),
    Window(&'a [WinId]),
}

A client propert value that can be set.

Variants correspond to the X property types being set.

Variants

Atom(&'a [u32])

A slice of interned Atom values

Cardinal(&'a [u32])

A slice of cardinal u32s

Str(&'a str)

A string valued property

Window(&'a [WinId])

One or more WinId values

Trait Implementations

impl<'a> Clone for PropVal<'a>[src]

impl<'a> Copy for PropVal<'a>[src]

impl<'a> Debug for PropVal<'a>[src]

impl<'a> Eq for PropVal<'a>[src]

impl<'a> Hash for PropVal<'a>[src]

impl<'a> PartialEq<PropVal<'a>> for PropVal<'a>[src]

impl<'a> StructuralEq for PropVal<'a>[src]

impl<'a> StructuralPartialEq for PropVal<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for PropVal<'a>[src]

impl<'a> Send for PropVal<'a>[src]

impl<'a> Sync for PropVal<'a>[src]

impl<'a> Unpin for PropVal<'a>[src]

impl<'a> UnwindSafe for PropVal<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.