script/dom/animations/animationeffect.rs
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5use dom_struct::dom_struct;
6use script_bindings::reflector::Reflector;
7
8/// <https://drafts.csswg.org/web-animations-1/#animationeffect>
9#[dom_struct]
10pub(crate) struct AnimationEffect {
11 reflector: Reflector,
12}
13
14impl AnimationEffect {
15 pub(crate) fn new_inherited() -> Self {
16 Self {
17 reflector: Reflector::new(),
18 }
19 }
20}