pub struct RelocateModeState {
pub container_id: String,
pub label: String,
pub cursor_x: f32,
pub cursor_y: f32,
}Expand description
Local relocate ghost for a placed chest/lodging (1×1 cell cursor).
Fields§
§container_id: String§label: String§cursor_x: f32§cursor_y: f32Trait Implementations§
Source§impl Clone for RelocateModeState
impl Clone for RelocateModeState
Source§fn clone(&self) -> RelocateModeState
fn clone(&self) -> RelocateModeState
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 RelocateModeState
impl Debug for RelocateModeState
Source§impl PartialEq for RelocateModeState
impl PartialEq for RelocateModeState
impl StructuralPartialEq for RelocateModeState
Auto Trait Implementations§
impl Freeze for RelocateModeState
impl RefUnwindSafe for RelocateModeState
impl Send for RelocateModeState
impl Sync for RelocateModeState
impl Unpin for RelocateModeState
impl UnsafeUnpin for RelocateModeState
impl UnwindSafe for RelocateModeState
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