pub struct ExploreViewParts {Show 22 fields
pub root: ScrolledWindow,
pub populated: Rc<Cell<bool>>,
people_row: Box,
recents_grid: FlowBox,
places_grid: FlowBox,
things_grid: FlowBox,
people_section: Box,
recents_section: Box,
places_section: Box,
things_section: Box,
people_spinner: Spinner,
recents_spinner: Spinner,
places_spinner: Spinner,
things_spinner: Spinner,
pub people_filter_button: MenuButton,
cached_people: Rc<RefCell<Vec<Person>>>,
cached_people_click: Rc<RefCell<Option<Rc<dyn Fn(String, String)>>>>,
cached_places: Rc<RefCell<Vec<PlaceItem>>>,
cached_places_click: Rc<RefCell<Option<Rc<dyn Fn(&str, String, String)>>>>,
pub search_query: Rc<RefCell<String>>,
pub filter_entry: SearchEntry,
cached_ctx: Rc<RefCell<Option<Arc<AppContext>>>>,
}Expand description
Contains references to individual grid widgets of the explore tab dashboard display.
Fields§
§root: ScrolledWindow§populated: Rc<Cell<bool>>§people_row: Box§recents_grid: FlowBox§places_grid: FlowBox§things_grid: FlowBox§people_section: Box§recents_section: Box§places_section: Box§things_section: Box§people_spinner: Spinner§recents_spinner: Spinner§places_spinner: Spinner§things_spinner: Spinner§cached_people: Rc<RefCell<Vec<Person>>>§cached_people_click: Rc<RefCell<Option<Rc<dyn Fn(String, String)>>>>§cached_places: Rc<RefCell<Vec<PlaceItem>>>§cached_places_click: Rc<RefCell<Option<Rc<dyn Fn(&str, String, String)>>>>§search_query: Rc<RefCell<String>>§filter_entry: SearchEntry§cached_ctx: Rc<RefCell<Option<Arc<AppContext>>>>Auto Trait Implementations§
impl !RefUnwindSafe for ExploreViewParts
impl !Send for ExploreViewParts
impl !Sync for ExploreViewParts
impl !UnwindSafe for ExploreViewParts
impl Freeze for ExploreViewParts
impl Unpin for ExploreViewParts
impl UnsafeUnpin for ExploreViewParts
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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