pub struct RoomListDynamicEntriesController { /* private fields */ }
Expand description
Controller for the RoomList
dynamic entries.
To get one value of this type, use
RoomList::entries_with_dynamic_adapters
Implementations§
source§impl RoomListDynamicEntriesController
impl RoomListDynamicEntriesController
sourcepub fn set_filter(&self, filter: BoxedFilterFn) -> bool
pub fn set_filter(&self, filter: BoxedFilterFn) -> bool
Set the filter.
If the associated stream has been dropped, returns false
to indicate
the operation didn’t have an effect.
sourcepub fn add_one_page(&self)
pub fn add_one_page(&self)
Add one page, i.e. view page_size
more entries in the room list if
any.
sourcepub fn reset_to_one_page(&self)
pub fn reset_to_one_page(&self)
Reset the one page, i.e. forget all pages and move back to the first page.
Auto Trait Implementations§
impl Freeze for RoomListDynamicEntriesController
impl RefUnwindSafe for RoomListDynamicEntriesController
impl Send for RoomListDynamicEntriesController
impl Sync for RoomListDynamicEntriesController
impl Unpin for RoomListDynamicEntriesController
impl UnwindSafe for RoomListDynamicEntriesController
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, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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