pub enum Modal {
HostSwitcher {
cursor: usize,
custom_input: TextInput,
entering_custom: bool,
},
Search {
input: TextInput,
},
QuickAppendPrompt {
content_input: TextInput,
section_input: TextInput,
as_task: bool,
focus_field: usize,
},
ProjectForm {
id: Option<u64>,
name_input: TextInput,
desc_input: TextInput,
focus_desc: bool,
},
PromptForm {
id: Option<u64>,
title_input: TextInput,
project_choice_idx: usize,
pinned: bool,
focus_field: usize,
},
ConfirmDelete {
target: DeleteTarget,
},
Attachments {
cursor: usize,
upload_input: Option<TextInput>,
dest_input: Option<TextInput>,
},
Help,
}Variants§
HostSwitcher
Search
QuickAppendPrompt
ProjectForm
PromptForm
Fields
ConfirmDelete
Fields
§
target: DeleteTargetAttachments
Help
Trait Implementations§
Auto Trait Implementations§
impl Forget for Modal
impl Freeze for Modal
impl Move for Modal
impl RefUnwindSafe for Modal
impl Send for Modalwhere
RawVecInner: Send,
impl Sync for Modalwhere
RawVecInner: Sync,
impl Unpin for Modal
impl UnsafeUnpin for Modal
impl UnwindSafe for Modalwhere
RawVecInner: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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