1// Copyright 2021 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
45use crate::animation::StateMachineLayerComponent;
6use crate::core::{Core, ObjectRef, OnAdded};
78#[derive(Debug, Default)]
9pub struct LayerState {
10 state_machine_layer_component: StateMachineLayerComponent,
11}
1213impl Core for LayerState {
14parent_types![(state_machine_layer_component, StateMachineLayerComponent)];
1516properties!(state_machine_layer_component);
17}
1819impl OnAdded for ObjectRef<'_, LayerState> {
20on_added!(StateMachineLayerComponent);
21}