Struct webrender_api::PropertyBindingKey
[−]
[src]
pub struct PropertyBindingKey<T> {
pub id: PropertyBindingId,
// some fields omitted
}A unique key that is used for connecting animated property values to bindings in the display list.
Fields
id: PropertyBindingId
Methods
impl<T: Copy> PropertyBindingKey<T>[src]
Construct a property value from a given key and value.
pub fn with(&self, value: T) -> PropertyValue<T>[src]
impl<T> PropertyBindingKey<T>[src]
Trait Implementations
impl<T: Clone> Clone for PropertyBindingKey<T>[src]
fn clone(&self) -> PropertyBindingKey<T>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<T: Copy> Copy for PropertyBindingKey<T>[src]
impl<T: Debug> Debug for PropertyBindingKey<T>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for PropertyBindingKey<T>[src]
fn eq(&self, __arg_0: &PropertyBindingKey<T>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PropertyBindingKey<T>) -> bool[src]
This method tests for !=.
impl<T> From<PropertyBindingKey<T>> for PropertyBinding<T>[src]
fn from(key: PropertyBindingKey<T>) -> PropertyBinding<T>[src]
Performs the conversion.