pub struct ColumnListings { /* private fields */ }Expand description
The listings of the columns beside the place’s, for a mode that shows
the path (Finder’s columns): the place’s ancestors and the focused folder
looked into. Each lists off the interface thread when its source does
(a FsSource over the system’s file system), its entries streaming in
page by page, Column::loading until the end; one no longer wanted
(the focus moved on, the place changed) is dropped, which cancels it.
Implementations§
Source§impl ColumnListings
impl ColumnListings
Sourcepub fn folders_only(self, on: bool) -> Self
pub fn folders_only(self, on: bool) -> Self
Columns that list the folders alone (a folder chooser’s).
Sourcepub fn sync(
&mut self,
source: &dyn FileSource,
options: &ListOptions,
wanted: &[PathBuf],
place: &Path,
peek: Option<&Path>,
) -> bool
pub fn sync( &mut self, source: &dyn FileSource, options: &ListOptions, wanted: &[PathBuf], place: &Path, peek: Option<&Path>, ) -> bool
Lists wanted (the ancestors to show, the topmost first) and peek
(the focused folder), reusing the columns already there, starting
what is missing, dropping what is not wanted; then takes what each
listing delivered. place is the folder after the last ancestor:
each column’s open entry leads to the next. true while a listing
is under way.
Trait Implementations§
Source§impl Debug for ColumnListings
impl Debug for ColumnListings
Source§impl Default for ColumnListings
impl Default for ColumnListings
Source§fn default() -> ColumnListings
fn default() -> ColumnListings
Auto Trait Implementations§
impl Freeze for ColumnListings
impl RefUnwindSafe for ColumnListings
impl Send for ColumnListings
impl !Sync for ColumnListings
impl Unpin for ColumnListings
impl UnsafeUnpin for ColumnListings
impl UnwindSafe for ColumnListings
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§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>
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>
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