pub trait HasNestedView {
type NestedView: HasNestedView<NestedView = Self::NestedView> + Send + Sync;
// Required method
fn nested_view(&self, parent: &InstancePath) -> NestedView<Self>;
}
Expand description
An object that can be nested within a parent transform.
Required Associated Types§
Sourcetype NestedView: HasNestedView<NestedView = Self::NestedView> + Send + Sync
type NestedView: HasNestedView<NestedView = Self::NestedView> + Send + Sync
A view of the nested object.
Nesting a nested view should return the same type.
Required Methods§
Sourcefn nested_view(&self, parent: &InstancePath) -> NestedView<Self>
fn nested_view(&self, parent: &InstancePath) -> NestedView<Self>
Creates a nested view of the object given a parent node.