use boa_macros::{Finalize, Trace};
use super::SharedShape;
#[derive(Debug, Clone, Trace, Finalize)]
pub struct RootShape {
shape: SharedShape,
}
impl Default for RootShape {
#[inline]
fn default() -> Self {
Self {
shape: SharedShape::root(),
}
}
}
impl RootShape {
pub const fn shape(&self) -> &SharedShape {
&self.shape
}
}