Trait abxml::model::AttributeTrait
source · pub trait AttributeTrait {
fn get_namespace(&self) -> Result<u32, Error>;
fn get_name(&self) -> Result<u32, Error>;
fn get_class(&self) -> Result<u32, Error>;
fn get_resource_value(&self) -> Result<u32, Error>;
fn get_data(&self) -> Result<u32, Error>;
fn get_value(&self) -> Result<Value, Error> { ... }
}
Required Methods
sourcefn get_namespace(&self) -> Result<u32, Error>
fn get_namespace(&self) -> Result<u32, Error>
Return the namespace index. If there is no namespace, it will return 0xFFFF_FFFF
sourcefn get_name(&self) -> Result<u32, Error>
fn get_name(&self) -> Result<u32, Error>
Returns the index of the attribute on the string table
sourcefn get_resource_value(&self) -> Result<u32, Error>
fn get_resource_value(&self) -> Result<u32, Error>
Returns the data type (see Values
)