pub struct SubscriptionsPageView<'a> {
pub entries: &'a [SubscriptionEntry],
pub selected_index: usize,
pub scroll_offset: usize,
pub active_pane: &'a ActivePane,
pub preview_blocks: &'a [ThreadMessageBlock],
pub message_scroll_offset: u16,
}Fields§
§entries: &'a [SubscriptionEntry]§selected_index: usize§scroll_offset: usize§active_pane: &'a ActivePane§preview_blocks: &'a [ThreadMessageBlock]§message_scroll_offset: u16Auto Trait Implementations§
impl<'a> Freeze for SubscriptionsPageView<'a>
impl<'a> RefUnwindSafe for SubscriptionsPageView<'a>
impl<'a> Send for SubscriptionsPageView<'a>
impl<'a> Sync for SubscriptionsPageView<'a>
impl<'a> Unpin for SubscriptionsPageView<'a>
impl<'a> UnsafeUnpin for SubscriptionsPageView<'a>
impl<'a> UnwindSafe for SubscriptionsPageView<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more