[][src]Enum orbtk_api::properties::PropertySource

pub enum PropertySource<P: Component + Debug> {
    Source(Entity),
    KeySource(StringEntity),
    Value(P),
}

Use to build a property or to share it.

Variants

Source(Entity)
KeySource(StringEntity)
Value(P)

Trait Implementations

impl<P: Debug + Component> Debug for PropertySource<P>[src]

impl<P: Component + Debug> From<Entity> for PropertySource<P>[src]

impl<P: PartialEq + Component + Debug> PartialEq<PropertySource<P>> for PropertySource<P>[src]

impl<P: Component + Debug> StructuralPartialEq for PropertySource<P>[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for PropertySource<P> where
    P: RefUnwindSafe

impl<P> Send for PropertySource<P> where
    P: Send

impl<P> Sync for PropertySource<P> where
    P: Sync

impl<P> Unpin for PropertySource<P> where
    P: Unpin

impl<P> UnwindSafe for PropertySource<P> where
    P: UnwindSafe

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<E> Component for E where
    E: Any
[src]

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

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

impl<T> SetParameter for T

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.