impl Object { /// Get the name for the object. /// pubfn name(&self) -> Option<String> {
Properties::name().value_from(self).ok()
}
/// Get the unique id for the object. /// pubfn unique_id(&self) -> Option<u32> {
Properties::unique_id()
.value_from(self)
.ok()
.map(|v: SInt32| v as u32)
}
/// Get the display name for the object. /// pubfn display_name(&self) -> Option<String> {
Properties::display_name().value_from(self).ok()
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.