rive_rs/
container_component.rs

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.
4
5use crate::component::Component;
6use crate::core::{Core, ObjectRef, OnAdded};
7
8#[derive(Debug, Default)]
9pub struct ContainerComponent {
10    component: Component,
11}
12
13impl Core for ContainerComponent {
14    parent_types![(component, Component)];
15
16    properties!(component);
17}
18
19impl OnAdded for ObjectRef<'_, ContainerComponent> {
20    on_added!(Component);
21}