Trait style::invalidation::media_queries::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§
sourcefn to_media_list_key(&self) -> MediaListKey
fn to_media_list_key(&self) -> MediaListKey
Get a MediaListKey
for this item. This key needs to uniquely identify
the item.
Object Safety§
This trait is not object safe.