Struct sixtyfps_compilerlib::object_tree::TransitionPropertyAnimation [−][src]
pub struct TransitionPropertyAnimation { pub state_id: i32, pub is_out: bool, pub animation: ElementRc, }
Fields
state_id: i32
The state id as computed in lower_state
is_out: bool
false for ‘to’, true for ‘out’
animation: ElementRc
The content of the anumation
object
Implementations
impl TransitionPropertyAnimation
[src]
impl TransitionPropertyAnimation
[src]pub fn condition(&self, state: Expression) -> Expression
[src]
Return an expression which returns a boolean which is true if the transition is active. The state argument is an expresison referencing the state property of type StateInfo
Trait Implementations
impl Clone for TransitionPropertyAnimation
[src]
impl Clone for TransitionPropertyAnimation
[src]fn clone(&self) -> TransitionPropertyAnimation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for TransitionPropertyAnimation
impl !RefUnwindSafe for TransitionPropertyAnimation
impl !Send for TransitionPropertyAnimation
impl !Send for TransitionPropertyAnimation
impl !Sync for TransitionPropertyAnimation
impl !Sync for TransitionPropertyAnimation
impl Unpin for TransitionPropertyAnimation
impl Unpin for TransitionPropertyAnimation
impl !UnwindSafe for TransitionPropertyAnimation
impl !UnwindSafe for TransitionPropertyAnimation