pub struct RefFieldSpec {
pub single_refs: &'static [&'static str],
pub list_refs: &'static [&'static str],
}Expand description
Specification of which property keys carry component references.
Fields§
§single_refs: &'static [&'static str]Keys whose value is a single component id string (e.g. child,
activeTab).
list_refs: &'static [&'static str]Keys whose value is a list of component ids — either a JSON array of
strings (Static), or a Template object {componentId, path}
(e.g. children).
Implementations§
Source§impl RefFieldSpec
impl RefFieldSpec
Trait Implementations§
Source§impl Clone for RefFieldSpec
impl Clone for RefFieldSpec
Source§fn clone(&self) -> RefFieldSpec
fn clone(&self) -> RefFieldSpec
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 moreSource§impl Debug for RefFieldSpec
impl Debug for RefFieldSpec
Auto Trait Implementations§
impl Freeze for RefFieldSpec
impl RefUnwindSafe for RefFieldSpec
impl Send for RefFieldSpec
impl Sync for RefFieldSpec
impl Unpin for RefFieldSpec
impl UnsafeUnpin for RefFieldSpec
impl UnwindSafe for RefFieldSpec
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