pub struct EditorState {
pub camera: EditorCamera,
pub selection: Selection,
pub view_mode: ViewMode,
pub frame_count: u64,
}Expand description
Kopfloser Editor-Zustand: alles, was die Capabilities adressieren.
Fields§
§camera: EditorCamera§selection: Selection§view_mode: ViewMode§frame_count: u64Implementations§
Trait Implementations§
Source§impl Clone for EditorState
impl Clone for EditorState
Source§fn clone(&self) -> EditorState
fn clone(&self) -> EditorState
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 Command<EditorState> for SetCameraCommand
impl Command<EditorState> for SetCameraCommand
Source§impl Command<EditorState> for SetSelectionCommand
impl Command<EditorState> for SetSelectionCommand
Source§impl Command<EditorState> for SetViewModeCommand
impl Command<EditorState> for SetViewModeCommand
Auto Trait Implementations§
impl Freeze for EditorState
impl RefUnwindSafe for EditorState
impl Send for EditorState
impl Sync for EditorState
impl Unpin for EditorState
impl UnsafeUnpin for EditorState
impl UnwindSafe for EditorState
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