Enum RandomTicks
pub enum RandomTicks {
All(bool),
States {
property: String,
values: Vec<String>,
},
}Expand description
RandomTicks in a load-time content declaration.
Variants§
All(bool)
Every state (true), or none (false, for a template that ticks).
States
The states whose own state property property is one of values.
Trait Implementations§
§impl Clone for RandomTicks
impl Clone for RandomTicks
§fn clone(&self) -> RandomTicks
fn clone(&self) -> RandomTicks
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 more§impl Debug for RandomTicks
impl Debug for RandomTicks
§impl PartialEq for RandomTicks
impl PartialEq for RandomTicks
impl StructuralPartialEq for RandomTicks
Auto Trait Implementations§
impl Freeze for RandomTicks
impl RefUnwindSafe for RandomTicks
impl Send for RandomTicks
impl Sync for RandomTicks
impl Unpin for RandomTicks
impl UnsafeUnpin for RandomTicks
impl UnwindSafe for RandomTicks
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