pub trait TimelineItemImpl: ObjectImpl {
// Required method
fn id(&self) -> String;
// 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
.
Required Methods§
Provided Methods§
fn selectable(&self) -> bool
fn can_hide_header(&self) -> bool
fn event_sender_id(&self) -> Option<OwnedUserId>
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.