pub trait HasNestedView<T = InstancePath> {
type NestedView: Send + Sync;
// Required method
fn nested_view(&self, parent: &T) -> NestedView<Self, T>;
}
Expand description
An object that can be nested within a parent transform.
Required Associated Types§
Sourcetype NestedView: Send + Sync
type 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: &T) -> NestedView<Self, T>
fn nested_view(&self, parent: &T) -> NestedView<Self, T>
Creates a nested view of the object given a parent node.