pub struct RepeatProperties {
pub source_expression: Property<PaxValue>,
pub iterator_i_symbol: Property<Option<String>>,
pub iterator_elem_symbol: Property<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: Property<PaxValue>§iterator_i_symbol: Property<Option<String>>§iterator_elem_symbol: Property<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.Auto Trait Implementations§
impl Freeze for RepeatProperties
impl RefUnwindSafe for RepeatProperties
impl Send for RepeatProperties
impl Sync 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.