pub trait OwnerObjectDesc {
    // Required method
    fn owner(&self) -> &Option<ObjectId>;
}
Expand description

有主对象

Required Methods§

source

fn owner(&self) -> &Option<ObjectId>

Implementations on Foreign Types§

source§

impl OwnerObjectDesc for Option<ObjectId>

Implementors§

source§

impl OwnerObjectDesc for SubDescNone

source§

impl<T> OwnerObjectDesc for NamedObjectDesc<T>where T: DescContent, T::OwnerType: OwnerObjectDesc,

NamedObjectDesc 的 OwnerObjectDesc 自动实现

如果 T::OwnerType 实现了 OwnerObjectDesc 则自动为 NamedObjectDesc 实现 OwnerObjectDesc