pub struct PropertyCell {
pub value: PropertyValue,
pub listeners: SmallVec<[ListenerId; 4]>,
pub binding: Option<BindingId>,
pub generation: u64,
}Expand description
One stored property: the typed value, optional binding source, registered listeners, and a monotonic generation counter.
Fields§
§value: PropertyValueCurrent value.
listeners: SmallVec<[ListenerId; 4]>Listener handles fanned out on each PropertyStore::set.
binding: Option<BindingId>Optional one-way binding source. Populated by PropertyStore::bind; wave 1 wires the propagation system.
generation: u64Monotonic write counter; bumped on every successful set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PropertyCell
impl !RefUnwindSafe for PropertyCell
impl Send for PropertyCell
impl Sync for PropertyCell
impl Unpin for PropertyCell
impl UnsafeUnpin for PropertyCell
impl !UnwindSafe for PropertyCell
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
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.