The attribute list
Replace the attributes with another list.
Replace the attributes with another list.
attributes to use to replace
copy of T with attributes replaced by list arg
Get an attribute.
Get an attribute.
Throws an error if it does not exist.
name of the attribute
the attribute
Get an attribute as an option.
Get an attribute as an option.
name of the attribute
Some(attribute) or None if it is not in the list
Get the Value of an attribute as an Option.
Get the Value of an attribute.
Add an optional attribute to the list.
Add an optional attribute to the list.
name of the attribute
optional value
a copy of T with the attribute optionally added
Add an attribute to the list.
Add an attribute to the list.
name of the attribute
value of the attribute
a copy of T with the attribute added
Add an optional attribute to the list.
Add an optional attribute to the list.
optional attribute to add to the list
a copy of T with the attribute optionally added
Add an attribute to the list.
Add an attribute to the list.
attribute to add to the list
a copy of T with the attribute added to the attribute list
Add a list of attributes to attributes.
Add a list of attributes to attributes.
Adds all attributes in the list argument to attributes.
list of attributes to add
copy of T with all attributes added to attributes
This trait provides easy access to reading/writing attributes to objects that contain an AttributeList.
class type that contains the attribute list