pub(super) struct TrashControls {
pub bar: Revealer,
restore_all: Button,
empty: Button,
pub restore_selected: Button,
pub delete_selected: Button,
live_only: Vec<Button>,
}Expand description
Trash-only widgets, plus the selection-bar buttons they temporarily replace.
Fields§
§bar: RevealerBar above the grid; revealed only while the Trash source is active.
restore_all: Button§empty: Button§restore_selected: ButtonSelection-bar actions shown in the trash.
delete_selected: Button§live_only: Vec<Button>Selection-bar actions hidden in the trash (download, move to trash).
Auto Trait Implementations§
impl !Send for TrashControls
impl !Sync for TrashControls
impl Freeze for TrashControls
impl RefUnwindSafe for TrashControls
impl Unpin for TrashControls
impl UnsafeUnpin for TrashControls
impl UnwindSafe for TrashControls
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> ⓘ
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