pub struct CustomPropJson {
pub name: &'static str,
pub owner: &'static str,
pub default: &'static str,
pub description: &'static str,
}Expand description
An escape-hatch custom property, emitted as its own top-level section rather than nested under a component: an agent looking for “how do I change the hero crop” greps for the property name, and several of these are not owned by a single class anyway.
Fields§
§name: &'static str§owner: &'static str§default: &'static str§description: &'static strTrait Implementations§
Auto Trait Implementations§
impl Freeze for CustomPropJson
impl RefUnwindSafe for CustomPropJson
impl Send for CustomPropJson
impl Sync for CustomPropJson
impl Unpin for CustomPropJson
impl UnsafeUnpin for CustomPropJson
impl UnwindSafe for CustomPropJson
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