Struct animate::Stage[][src]

pub struct Stage(_, _);

Implementations

impl Stage[src]

pub fn new() -> Stage[src]

Creates a new, non-default stage. A non-default stage is a new top-level actor which can be used as another container. It works exactly like the default stage, but while Stage::get_default will always return the same instance, you will have to keep a pointer to any Stage returned by Stage::new.

The ability to support multiple stages depends on the current backend. Use feature_available and FeatureFlags::StageMultiple to check at runtime whether a backend supports multiple stages.

Returns

a new stage, or None if the default backend does not support multiple stages. Use ActorExt::destroy to programmatically close the returned stage.

Trait Implementations

impl Clone for Stage[src]

impl Debug for Stage[src]

impl Default for Stage[src]

impl Display for Stage[src]

impl Eq for Stage[src]

impl Hash for Stage[src]

impl IsA<Actor> for Stage[src]

impl IsA<Animatable> for Stage[src]

impl IsA<Container> for Stage[src]

impl IsA<Group> for Stage[src]

impl IsA<InitiallyUnowned> for Stage[src]

impl Ord for Stage[src]

impl<T: ObjectType> PartialEq<T> for Stage[src]

impl<T: ObjectType> PartialOrd<T> for Stage[src]

impl StaticType for Stage[src]

Auto Trait Implementations

impl RefUnwindSafe for Stage

impl !Send for Stage

impl !Sync for Stage

impl Unpin for Stage

impl UnwindSafe for Stage

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<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> Construction<T> for T where
    T: Default + Clone
[src]

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

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

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,