pub struct RepeatProperties {
pub source_expression: LocalProperty<PaxValue>,
pub iterator_i_symbol: LocalProperty<Option<String>>,
pub iterator_elem_symbol: LocalProperty<Option<String>>,
pub repeat_key_expression: Option<ExpressionInfo>,
}Expand description
Contains modal vec and range variants, describing whether the Repeat source
is encoded as a Vec<T> (where T is a PaxValue properties type) or as a Range<isize>
Fields§
§source_expression: LocalProperty<PaxValue>§iterator_i_symbol: LocalProperty<Option<String>>§iterator_elem_symbol: LocalProperty<Option<String>>§repeat_key_expression: Option<ExpressionInfo>Trait Implementations§
Source§impl Default for RepeatProperties
impl Default for RepeatProperties
impl ImplToFromPaxAny for RepeatProperties
Source§impl ToPaxValue for RepeatProperties
impl ToPaxValue for RepeatProperties
Source§fn to_pax_value(self) -> PaxValue
fn to_pax_value(self) -> PaxValue
Converts this value into a
PaxValue.Source§fn nested_properties(&self) -> Vec<UntypedProperty>
fn nested_properties(&self) -> Vec<UntypedProperty>
Live properties read when snapshotting a compound value for PAXEL.
Adapters observe these as well as the containing property.
Source§fn to_pax_value_in_graph(self) -> PaxValuewhere
Self: Sized,
fn to_pax_value_in_graph(self) -> PaxValuewhere
Self: Sized,
Converts against owner-thread graph views, including nested generated
property fields. Requires an entered property graph for shared fields.
Ordinary
Self::to_pax_value reads published value snapshots.Auto Trait Implementations§
impl !Send for RepeatProperties
impl !Sync for RepeatProperties
impl Freeze for RepeatProperties
impl RefUnwindSafe for RepeatProperties
impl Unpin for RepeatProperties
impl UnsafeUnpin for RepeatProperties
impl UnwindSafe for RepeatProperties
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.
Source§impl<T> ToFromPaxAny for Twhere
T: ImplToFromPaxAny,
impl<T> ToFromPaxAny for Twhere
T: ImplToFromPaxAny,
Source§fn to_pax_any(self) -> PaxAny
fn to_pax_any(self) -> PaxAny
Converts this value into a
PaxAny.Source§fn from_pax_any(pax_any: PaxAny) -> Result<T, String>
fn from_pax_any(pax_any: PaxAny) -> Result<T, String>
Attempts to recover this concrete type from a
PaxAny.