Struct webrender_api::PropertyValue [−][src]
pub struct PropertyValue<T> { pub key: PropertyBindingKey<T>, pub value: T, }
The current value of an animated property. This is supplied by the calling code.
Fields
key: PropertyBindingKey<T>
value: T
Trait Implementations
impl<T: Clone> Clone for PropertyValue<T>
[src]
impl<T: Clone> Clone for PropertyValue<T>
fn clone(&self) -> PropertyValue<T>
[src]
fn clone(&self) -> PropertyValue<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: Copy> Copy for PropertyValue<T>
[src]
impl<T: Copy> Copy for PropertyValue<T>
impl<T: Debug> Debug for PropertyValue<T>
[src]
impl<T: Debug> Debug for PropertyValue<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for PropertyValue<T>
[src]
impl<T: PartialEq> PartialEq for PropertyValue<T>
fn eq(&self, other: &PropertyValue<T>) -> bool
[src]
fn eq(&self, other: &PropertyValue<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PropertyValue<T>) -> bool
[src]
fn ne(&self, other: &PropertyValue<T>) -> bool
This method tests for !=
.
Auto Trait Implementations
impl<T> Send for PropertyValue<T> where
T: Send,
impl<T> Send for PropertyValue<T> where
T: Send,
impl<T> Sync for PropertyValue<T> where
T: Sync,
impl<T> Sync for PropertyValue<T> where
T: Sync,