Trait android_manifest::ResourceType
source · pub trait ResourceType: FromStr {
// Required method
fn resource_type() -> &'static str;
// Provided method
fn new(name: &str, package: Option<String>) -> Resource<Self> { ... }
}
Expand description
Trait implemented by types that can be used as resource.
Required Methods§
sourcefn resource_type() -> &'static str
fn resource_type() -> &'static str
Returns string representation of the resource_type
.