pub struct AlbumsViewParts {Show 15 fields
pub root: ScrolledWindow,
pub populated: Rc<Cell<bool>>,
pub create_button: Button,
recent_grid: FlowBox,
owned_grid: FlowBox,
shared_grid: FlowBox,
recent_section: Box,
owned_section: Box,
shared_section: Box,
cached_albums: Rc<RefCell<Vec<LibraryAlbum>>>,
cached_click: Rc<RefCell<Option<Rc<dyn Fn(&str, String)>>>>,
pub search_query: Rc<RefCell<String>>,
pub filter_entry: SearchEntry,
pub sort_mode: Rc<Cell<AlbumsSort>>,
cached_ctx: Rc<RefCell<Option<Arc<AppContext>>>>,
}Expand description
Contains references to individual grid widgets of the albums overview display.
Fields§
§root: ScrolledWindow§populated: Rc<Cell<bool>>§recent_grid: FlowBox§owned_grid: FlowBox§recent_section: Box§owned_section: Box§cached_albums: Rc<RefCell<Vec<LibraryAlbum>>>§cached_click: Rc<RefCell<Option<Rc<dyn Fn(&str, String)>>>>§search_query: Rc<RefCell<String>>§filter_entry: SearchEntry§sort_mode: Rc<Cell<AlbumsSort>>§cached_ctx: Rc<RefCell<Option<Arc<AppContext>>>>Auto Trait Implementations§
impl !RefUnwindSafe for AlbumsViewParts
impl !Send for AlbumsViewParts
impl !Sync for AlbumsViewParts
impl !UnwindSafe for AlbumsViewParts
impl Freeze for AlbumsViewParts
impl Unpin for AlbumsViewParts
impl UnsafeUnpin for AlbumsViewParts
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