pub struct ExpressionObjectKey(pub usize);Expand description
The identity of an expression object (see IExpressionObject::key).
The reference implementation keeps references to the tracked objects and compares them by reference; this port keeps their identity keys instead, so that the collection neither borrows nor owns server objects. Whoever enumerates the collection resolves the keys back to objects.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for ExpressionObjectKey
impl Clone for ExpressionObjectKey
impl Copy for ExpressionObjectKey
Source§impl Debug for ExpressionObjectKey
impl Debug for ExpressionObjectKey
impl Eq for ExpressionObjectKey
Source§impl Hash for ExpressionObjectKey
impl Hash for ExpressionObjectKey
Source§impl Ord for ExpressionObjectKey
impl Ord for ExpressionObjectKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExpressionObjectKey
impl PartialEq for ExpressionObjectKey
Source§impl PartialOrd for ExpressionObjectKey
impl PartialOrd for ExpressionObjectKey
impl StructuralPartialEq for ExpressionObjectKey
Auto Trait Implementations§
impl Freeze for ExpressionObjectKey
impl RefUnwindSafe for ExpressionObjectKey
impl Send for ExpressionObjectKey
impl Sync for ExpressionObjectKey
impl Unpin for ExpressionObjectKey
impl UnsafeUnpin for ExpressionObjectKey
impl UnwindSafe for ExpressionObjectKey
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more