ObjectTags

Trait ObjectTags 

Source
pub trait ObjectTags {
    // Required method
    fn tags(&self) -> &Tags;
}
Expand description

Object methods related to accessing Tags.

Required Methods§

Source

fn tags(&self) -> &Tags

Returns the Tags of this Object.

For convenience, if the object has no tags, Tags::static_empty is returned instead.

Implementors§

Source§

impl<T: Kind> ObjectTags for Object<'_, '_, '_, T>

Source§

impl<T: Kind> ObjectTags for ObjectRef<'_, '_, '_, T>

Source§

impl<T: Kind> ObjectTags for ObjectWorldRef<'_, T>