Skip to main content

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

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

Source§

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

Source§

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