Struct PresetEditor
pub struct PresetEditor {
pub preset: String,
pub screen: String,
}Expand description
A client screen used to customize a data-pack world preset.
Fields§
§preset: StringWorld-preset registry id, such as example:islands.
screen: StringNamespaced editor id, available through ClientHost::preset_editor.
Trait Implementations§
§impl Clone for PresetEditor
impl Clone for PresetEditor
§fn clone(&self) -> PresetEditor
fn clone(&self) -> PresetEditor
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 more§impl Debug for PresetEditor
impl Debug for PresetEditor
impl Eq for PresetEditor
§impl PartialEq for PresetEditor
impl PartialEq for PresetEditor
impl StructuralPartialEq for PresetEditor
Auto Trait Implementations§
impl Freeze for PresetEditor
impl RefUnwindSafe for PresetEditor
impl Send for PresetEditor
impl Sync for PresetEditor
impl Unpin for PresetEditor
impl UnsafeUnpin for PresetEditor
impl UnwindSafe for PresetEditor
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