pub struct Properties<T, B, M = ()>(_);
Expand description

Properties of a node object, and their associated objects.

Implementations

Returns the number of properties.

Checks if there are no defined properties.

Returns an iterator over the properties and their associated objects.

Returns an iterator over the properties with a mutable reference to their associated objects.

Removes all properties.

Checks if the given property is associated to any object.

Returns an iterator over all the objects associated to the given property.

Get one of the objects associated to the given property.

If multiple objects are found, there are no guaranties on which object will be returned.

Associate the given object to the node through the given property.

Associate the given object to the node through the given property, unless it is already.

Associate all the given objects to the node through the given property.

Associate all the given objects to the node through the given property, unless it is already.

The equivalence operator is used to remove equivalent objects.

Associate all the given objects to the node through the given property, unless it is already.

The equivalence operator is used to remove equivalent objects.

Removes and returns all the values associated to the given property.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Extends a collection with the contents of an iterator. Read more
🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value. Read more
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value. Read more
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value. Read more
Structural equality with mapped blank identifiers. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Wraps self inside a Meta<Self, M> using the given metadata. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The target type of the conversion, which can be borrowed as a Id<T, B>.
Convert the value into a reference.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.