Struct webrender_api::PropertyBindingKey
source · #[repr(C)]pub struct PropertyBindingKey<T> {
pub id: PropertyBindingId,
/* private fields */
}
Expand description
A unique key that is used for connecting animated property values to bindings in the display list.
Fields§
§id: PropertyBindingId
Implementations§
source§impl<T: Copy> PropertyBindingKey<T>
impl<T: Copy> PropertyBindingKey<T>
Construct a property value from a given key and value.
sourcepub fn with(self, value: T) -> PropertyValue<T>
pub fn with(self, value: T) -> PropertyValue<T>
Trait Implementations§
source§impl<T: Clone> Clone for PropertyBindingKey<T>
impl<T: Clone> Clone for PropertyBindingKey<T>
source§fn clone(&self) -> PropertyBindingKey<T>
fn clone(&self) -> PropertyBindingKey<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for PropertyBindingKey<T>
impl<T: Debug> Debug for PropertyBindingKey<T>
source§impl<T: Default> Default for PropertyBindingKey<T>
impl<T: Default> Default for PropertyBindingKey<T>
source§fn default() -> PropertyBindingKey<T>
fn default() -> PropertyBindingKey<T>
Returns the “default value” for a type. Read more
source§impl<'de, T> Deserialize<'de> for PropertyBindingKey<T>
impl<'de, T> Deserialize<'de> for PropertyBindingKey<T>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<PropertyBindingKey<ColorF>> for PropertyBindingKey<ColorU>
impl From<PropertyBindingKey<ColorF>> for PropertyBindingKey<ColorU>
source§fn from(key: PropertyBindingKey<ColorF>) -> PropertyBindingKey<ColorU>
fn from(key: PropertyBindingKey<ColorF>) -> PropertyBindingKey<ColorU>
Converts to this type from the input type.
source§impl From<PropertyBindingKey<ColorU>> for PropertyBindingKey<ColorF>
impl From<PropertyBindingKey<ColorU>> for PropertyBindingKey<ColorF>
source§fn from(key: PropertyBindingKey<ColorU>) -> PropertyBindingKey<ColorF>
fn from(key: PropertyBindingKey<ColorU>) -> PropertyBindingKey<ColorF>
Converts to this type from the input type.
source§impl<T: Hash> Hash for PropertyBindingKey<T>
impl<T: Hash> Hash for PropertyBindingKey<T>
source§impl<T> Into<u64> for PropertyBindingKey<T>
impl<T> Into<u64> for PropertyBindingKey<T>
source§impl<T> MallocSizeOf for PropertyBindingKey<T>where
T: MallocSizeOf,
impl<T> MallocSizeOf for PropertyBindingKey<T>where
T: MallocSizeOf,
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl<T: PartialEq> PartialEq for PropertyBindingKey<T>
impl<T: PartialEq> PartialEq for PropertyBindingKey<T>
source§fn eq(&self, other: &PropertyBindingKey<T>) -> bool
fn eq(&self, other: &PropertyBindingKey<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T> Peek for PropertyBindingKey<T>
impl<T> Peek for PropertyBindingKey<T>
source§impl<T> Poke for PropertyBindingKey<T>
impl<T> Poke for PropertyBindingKey<T>
source§impl<T> Serialize for PropertyBindingKey<T>
impl<T> Serialize for PropertyBindingKey<T>
impl<T: Copy> Copy for PropertyBindingKey<T>
impl<T: Eq> Eq for PropertyBindingKey<T>
impl<T> StructuralPartialEq for PropertyBindingKey<T>
Auto Trait Implementations§
impl<T> Freeze for PropertyBindingKey<T>
impl<T> RefUnwindSafe for PropertyBindingKey<T>where
T: RefUnwindSafe,
impl<T> Send for PropertyBindingKey<T>where
T: Send,
impl<T> Sync for PropertyBindingKey<T>where
T: Sync,
impl<T> Unpin for PropertyBindingKey<T>where
T: Unpin,
impl<T> UnwindSafe for PropertyBindingKey<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more