pub struct DialogInputState {Show 14 fields
pub import_files: Vec<String>,
pub import_selection: SelectionState,
pub priority_selection: SelectionState,
pub default_status_selection: SelectionState,
pub column_list: ListComponent,
pub sprint_assign_selection: SelectionState,
pub task_list_view_selection: SelectionState,
pub carry_over_sprint_selection: SelectionState,
pub carry_over_source_sprint_id: Option<Uuid>,
pub create_card_sprint_picker: SprintPicker,
pub create_card_focus: CreateCardFocus,
pub create_column_focus: CreateColumnFocus,
pub create_card_column_input: InputState,
pub assign_sprint_picker: SprintPicker,
/* private fields */
}Fields§
§import_files: Vec<String>§import_selection: SelectionState§priority_selection: SelectionState§default_status_selection: SelectionState§column_list: ListComponent§sprint_assign_selection: SelectionState§task_list_view_selection: SelectionState§carry_over_sprint_selection: SelectionState§carry_over_source_sprint_id: Option<Uuid>§create_card_sprint_picker: SprintPicker§create_card_focus: CreateCardFocus§create_column_focus: CreateColumnFocus§create_card_column_input: InputState§assign_sprint_picker: SprintPickerPicker for the assign-to-existing-card dialogs (single and bulk). Configured with SprintFilter::All so the user can pick from completed/ended sprints as well, which the create-card picker intentionally hides.
Implementations§
Source§impl DialogInputState
impl DialogInputState
pub fn create_card_focus_is_title(&self) -> bool
pub fn create_card_focus_is_column(&self) -> bool
pub fn create_card_focus_is_sprint(&self) -> bool
pub fn create_card_column_is_editable(&self) -> bool
pub fn create_card_sprint_is_visible(&self) -> bool
pub fn advance_create_card_focus(&mut self)
pub fn create_card_focus_is_last_visible(&self) -> bool
pub fn reset_create_card_focus(&mut self)
pub fn create_column_focus_is_name(&self) -> bool
pub fn toggle_create_column_focus(&mut self)
pub fn reset_create_column_focus(&mut self)
pub fn prime_create_card_column_field(&mut self, name: String, editable: bool)
pub fn prime_create_card_sprint_field(&mut self, visible: bool)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DialogInputState
impl RefUnwindSafe for DialogInputState
impl Send for DialogInputState
impl Sync for DialogInputState
impl Unpin for DialogInputState
impl UnsafeUnpin for DialogInputState
impl UnwindSafe for DialogInputState
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
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.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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