Trait ToMediaListKey

Source
pub trait ToMediaListKey: Sized {
    // Provided method
    fn to_media_list_key(&self) -> MediaListKey { ... }
}
Expand description

A trait to get a given MediaListKey for a given item that can hold a MediaList.

Provided Methods§

Source

fn to_media_list_key(&self) -> MediaListKey

Get a MediaListKey for this item. This key needs to uniquely identify the item.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§