fractal::session::model::room::timeline::timeline_item

Trait TimelineItemImpl

Source
pub(crate) trait TimelineItemImpl: ObjectImpl {
    // Provided methods
    fn selectable(&self) -> bool { ... }
    fn can_hide_header(&self) -> bool { ... }
    fn event_sender_id(&self) -> Option<OwnedUserId> { ... }
}
Expand description

Public trait that must be implemented for everything that derives from TimelineItem.

Overriding a method from this Trait overrides also its behavior in TimelineItemExt.

Provided Methods§

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§