Enum webrender_api::PropertyBinding [] [src]

pub enum PropertyBinding<T> {
    Value(T),
    Binding(PropertyBindingKey<T>),
}

A binding property can either be a specific value (the normal, non-animated case) or point to a binding location to fetch the current value from.

Variants

Trait Implementations

impl<T: Clone> Clone for PropertyBinding<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for PropertyBinding<T>
[src]

impl<T: Debug> Debug for PropertyBinding<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq> PartialEq for PropertyBinding<T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.