Struct v11::Universe[][src]

pub struct Universe {
    pub event_handlers: EventHandlers,
    // some fields omitted
}

A context object whose reference should be passed around everywhere.

Fields

Methods

impl Universe
[src]

Domain introspection methods.

Important traits for Vec<u8>

Adds any properties that are unknown. This function should be called if any libraries have been loaded since before the universe was created.

Important traits for Vec<u8>

Return a list of the names of all registered domains.

impl Universe
[src]

Property manipulation methods.

Returns a copy of the value of the given property. Only works for properties that are Copy.

Sets the value of a property.

Exchange the value in a property.

Gets the property locked for reading. Panics if poisoned.

Gets the property locked for writing. Panics if poisoned.

impl Universe
[src]

Add a custom tracker. You'll typically use this to maintain consistentcy with non-table data structures. For tables you'll generally use #[foreign] to be provided a struct to implement Tracker on. Such trackers are automatically added to each table instance; this function adds the tracker only to a particular instance.

impl Universe
[src]

Universe manipulation methods.

Converts to a form shareable with other threads.

Returns a string describing all the tables in the Universe. (This does not include their contents.)

Trait Implementations

impl<'a, V: Any + Sync> Index<&'a ToPropRef<V>> for Universe
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Debug for Universe
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Universe

impl Sync for Universe