pub enum FocusItem {
Speaker {
message: MessageId,
},
Link {
message: MessageId,
source: LineSource,
range: Range<usize>,
},
LoadMore {
message: MessageId,
},
Image {
message: MessageId,
block: usize,
},
}Expand description
One thing in the scrollback that does something when activated.
Variants§
Speaker
A speaker’s name in the gutter, and their avatar with it.
Link
A link: the text it lives in and its byte range there.
LoadMore
A load-more row, all of it.
Image
An inline image, or the placeholder standing in for one.
Implementations§
Trait Implementations§
impl Eq for FocusItem
impl StructuralPartialEq for FocusItem
Auto Trait Implementations§
impl Freeze for FocusItem
impl RefUnwindSafe for FocusItem
impl Send for FocusItem
impl Sync for FocusItem
impl Unpin for FocusItem
impl UnsafeUnpin for FocusItem
impl UnwindSafe for FocusItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more