pub struct PropertyRow<'a> {Show 13 fields
pub id: PropertyId,
pub depth: usize,
pub category: bool,
pub label: &'a str,
pub value: Option<&'a PropertyValue>,
pub editor: Option<PropertyEditor>,
pub expanded: bool,
pub has_children: bool,
pub enabled: bool,
pub read_only: bool,
pub modified: bool,
pub selected: bool,
pub validation: Option<&'a str>,
}Expand description
One projected row produced by PropertyModel::rows.
Fields§
§id: PropertyIdStable node id.
depth: usizeDepth among the emitted rows (zero for top-level rows).
category: boolWhether this row is a category group row.
label: &'a strDisplay label.
value: Option<&'a PropertyValue>Value (properties only).
editor: Option<PropertyEditor>Editor family (properties only).
expanded: boolWhether the node’s children are currently shown.
has_children: boolWhether the node has children.
enabled: boolWhether the row accepts user edits (disabled rows stay visible).
read_only: boolWhether both edit paths reject value changes for this row.
modified: boolWhether the row carries unsaved changes.
selected: boolWhether this row is the model’s current selection.
validation: Option<&'a str>Application-facing validation message, when set.
Trait Implementations§
Source§impl<'a> Clone for PropertyRow<'a>
impl<'a> Clone for PropertyRow<'a>
Source§impl<'a> Debug for PropertyRow<'a>
impl<'a> Debug for PropertyRow<'a>
Source§impl<'a> PartialEq for PropertyRow<'a>
impl<'a> PartialEq for PropertyRow<'a>
impl<'a> StructuralPartialEq for PropertyRow<'a>
Auto Trait Implementations§
impl<'a> Forget for PropertyRow<'a>
impl<'a> Freeze for PropertyRow<'a>
impl<'a> Move for PropertyRow<'a>
impl<'a> RefUnwindSafe for PropertyRow<'a>
impl<'a> Send for PropertyRow<'a>
impl<'a> Sync for PropertyRow<'a>where
RawVecInner: Sync,
impl<'a> Unpin for PropertyRow<'a>
impl<'a> UnsafeUnpin for PropertyRow<'a>
impl<'a> UnwindSafe for PropertyRow<'a>
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