pub struct ArraySettings {
pub dropdown: bool,
pub reorderable: bool,
}Expand description
Settings controlling how fixed-size arrays like [T; N] are edited.
Fields§
§dropdown: boolWhether the array contents are wrapped in a collapsible tree node.
reorderable: boolWhether elements can be reordered within the array.
Implementations§
Source§impl ArraySettings
impl ArraySettings
Sourcepub fn fixed_order() -> Self
pub fn fixed_order() -> Self
Fixed-order array: reordering disabled, but still rendered in a dropdown. This mirrors an ImReflect-style “no reorder” array.
Trait Implementations§
Source§impl Clone for ArraySettings
impl Clone for ArraySettings
Source§fn clone(&self) -> ArraySettings
fn clone(&self) -> ArraySettings
Returns a duplicate 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 ArraySettings
impl Debug for ArraySettings
Auto Trait Implementations§
impl Freeze for ArraySettings
impl RefUnwindSafe for ArraySettings
impl Send for ArraySettings
impl Sync for ArraySettings
impl Unpin for ArraySettings
impl UnwindSafe for ArraySettings
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