[][src]Enum reaper_medium::ProjectRef

pub enum ProjectRef {
    Current,
    CurrentlyRendering,
    Tab(u32),
}

Something which refers to a certain project.

Variants

Current

Project in the currently open tab.

CurrentlyRendering

Project which is currently rendering (if there is one).

Tab(u32)

Project at the given tab index.

Implementations

impl ProjectRef[src]

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

Converts this value to an integer as expected by the low-level API.

Trait Implementations

impl Clone for ProjectRef[src]

impl Copy for ProjectRef[src]

impl Debug for ProjectRef[src]

impl Eq for ProjectRef[src]

impl Hash for ProjectRef[src]

impl PartialEq<ProjectRef> for ProjectRef[src]

impl StructuralEq for ProjectRef[src]

impl StructuralPartialEq for ProjectRef[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.