pub struct ServerObjectId(/* private fields */);Expand description
Identifies a server-side object within its server compositor.
UI-thread objects never hold a server object; they hold its id, and the batch that creates, changes or disposes the object refers to it by id. The id is a plain value that can cross threads.
Implementations§
Trait Implementations§
Source§impl Clone for ServerObjectId
impl Clone for ServerObjectId
impl Copy for ServerObjectId
Source§impl Debug for ServerObjectId
impl Debug for ServerObjectId
impl Eq for ServerObjectId
Source§impl Hash for ServerObjectId
impl Hash for ServerObjectId
Source§impl Ord for ServerObjectId
impl Ord for ServerObjectId
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 ServerObjectId
impl PartialEq for ServerObjectId
Source§impl PartialOrd for ServerObjectId
impl PartialOrd for ServerObjectId
impl StructuralPartialEq for ServerObjectId
Auto Trait Implementations§
impl Freeze for ServerObjectId
impl RefUnwindSafe for ServerObjectId
impl Send for ServerObjectId
impl Sync for ServerObjectId
impl Unpin for ServerObjectId
impl UnsafeUnpin for ServerObjectId
impl UnwindSafe for ServerObjectId
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