pub trait TypedObject { type Base: BaseType; // Required methods fn base_ref(&self) -> Ref<'_, Self::Base>; fn base(&self) -> &Self::Base; }
Operations common to structured objects.
The base type of this object.
Returns a resolved reference to the object’s base.