Lines Matching refs:Option
155 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
159 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
163 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver()
167 fn set_driver(&self, _driver: Option<Weak<dyn Driver>>) { in set_driver()
187 fn set_class(&self, _class: Option<Weak<dyn Class>>) { in set_class()
191 fn dev_parent(&self) -> Option<Weak<dyn Device>> { in dev_parent()
195 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent()
199 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups()
209 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
213 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
217 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent()
221 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent()
225 fn kset(&self) -> Option<Arc<KSet>> { in kset()
229 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
233 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
237 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
266 fn name(&self) -> Option<&str> { in name()
276 ) -> Option<ModeType> { in is_visible()