[][src]Enum reaper_medium::WindowContext

pub enum WindowContext {
    NoWindow,
    Win(Hwnd),
}

Allows one to pass a window handle to the action function.

The concrete meaning of this depends on the action. For many actions this is not relevant at all.

Variants

NoWindow

Don't pass any window handle.

Win(Hwnd)

Pass the given window handle.

Implementations

impl WindowContext[src]

pub fn to_raw(&self) -> HWND[src]

Converts this value to a raw pointer as expected by the low-level API.

Trait Implementations

impl Clone for WindowContext[src]

impl Copy for WindowContext[src]

impl Debug for WindowContext[src]

impl Eq for WindowContext[src]

impl Hash for WindowContext[src]

impl PartialEq<WindowContext> for WindowContext[src]

impl StructuralEq for WindowContext[src]

impl StructuralPartialEq for WindowContext[src]

Auto Trait Implementations

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.