Enum android_manifest::StringResourceOrString [−][src]
pub enum StringResourceOrString {
StringResource(Resource<StringResource>),
String(String),
}Expand description
Enum used when the value can be string resource or just a row string.
Variants
StringResource(Resource<StringResource>)String(String)Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>[src]Auto Trait Implementations
impl RefUnwindSafe for StringResourceOrStringimpl Send for StringResourceOrStringimpl Sync for StringResourceOrStringimpl Unpin for StringResourceOrStringimpl UnwindSafe for StringResourceOrStringBlanket Implementations
Mutably borrows from an owned value. Read more