pub struct RotationEditorState {
pub mode: RotationEditorMode,
pub list_index: usize,
pub ability_index: usize,
pub picker_index: usize,
pub draft: Option<RotationPreset>,
pub label_buffer: String,
}Expand description
Local rotation editor UI state (not persisted).
Fields§
§mode: RotationEditorMode§list_index: usize§ability_index: usize§picker_index: usize§draft: Option<RotationPreset>§label_buffer: StringImplementations§
Trait Implementations§
Source§impl Clone for RotationEditorState
impl Clone for RotationEditorState
Source§fn clone(&self) -> RotationEditorState
fn clone(&self) -> RotationEditorState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RotationEditorState
impl Debug for RotationEditorState
Source§impl Default for RotationEditorState
impl Default for RotationEditorState
Source§fn default() -> RotationEditorState
fn default() -> RotationEditorState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RotationEditorState
impl RefUnwindSafe for RotationEditorState
impl Send for RotationEditorState
impl Sync for RotationEditorState
impl Unpin for RotationEditorState
impl UnsafeUnpin for RotationEditorState
impl UnwindSafe for RotationEditorState
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