pub(crate) trait TimelineItemExt: 'static {
// Required methods
fn timeline(&self) -> Timeline;
fn timeline_id(&self) -> String;
// Provided method
fn room(&self) -> Room { ... }
}
Expand description
Public trait containing implemented methods for everything that derives from
TimelineItem
.
To override the behavior of these methods, override the corresponding method
of TimelineItemImpl
.
Required Methods§
Sourcefn timeline_id(&self) -> String
fn timeline_id(&self) -> String
A unique ID for this TimelineItem
in the local timeline.