#[non_exhaustive]pub struct InspectorResponse {
pub save_prefab: bool,
}Expand description
What the inspector asks of its caller, this frame.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.save_prefab: bool“Save as prefab” was clicked, on an entity alive, with a name a
prefab may have: the caller writes Inspector::prefab into
<name>.jsonc, the name Inspector::prefab_name.
Trait Implementations§
Source§impl Clone for InspectorResponse
impl Clone for InspectorResponse
impl Copy for InspectorResponse
Source§impl Debug for InspectorResponse
impl Debug for InspectorResponse
Source§impl Default for InspectorResponse
impl Default for InspectorResponse
impl Eq for InspectorResponse
Source§impl PartialEq for InspectorResponse
impl PartialEq for InspectorResponse
impl StructuralPartialEq for InspectorResponse
Auto Trait Implementations§
impl Forget for InspectorResponse
impl Freeze for InspectorResponse
impl Move for InspectorResponse
impl RefUnwindSafe for InspectorResponse
impl Send for InspectorResponse
impl Sync for InspectorResponse
impl Unpin for InspectorResponse
impl UnsafeUnpin for InspectorResponse
impl UnwindSafe for InspectorResponse
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