Struct i_slint_compiler::object_tree::Transition
source · [−]pub struct Transition {
pub is_out: bool,
pub state_id: String,
pub property_animations: Vec<(NamedReference, SourceLocation, ElementRc)>,
pub node: SyntaxNode,
}
Fields
is_out: bool
false for ‘to’, true for ‘out’
state_id: String
property_animations: Vec<(NamedReference, SourceLocation, ElementRc)>
node: SyntaxNode
Node pointing to the state name
Trait Implementations
sourceimpl Clone for Transition
impl Clone for Transition
sourcefn clone(&self) -> Transition
fn clone(&self) -> Transition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Transition
impl !Send for Transition
impl !Sync for Transition
impl Unpin for Transition
impl !UnwindSafe for Transition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more