#[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> 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§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