Struct ambient_ui::editor::EditorOpts
source · pub struct EditorOpts {
pub enum_can_change_type: bool,
}
Expand description
Options for the Editor type.
Fields§
§enum_can_change_type: bool
If true, enums can be changed to a different variant.
Trait Implementations§
source§impl Clone for EditorOpts
impl Clone for EditorOpts
source§fn clone(&self) -> EditorOpts
fn clone(&self) -> EditorOpts
Returns a copy of the value. Read more
1.0.0 · 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 EditorOpts
impl Debug for EditorOpts
Auto Trait Implementations§
impl RefUnwindSafe for EditorOpts
impl Send for EditorOpts
impl Sync for EditorOpts
impl Unpin for EditorOpts
impl UnwindSafe for EditorOpts
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
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.