Enum android_manifest::AnyResource [−][src]
pub enum AnyResource { String(Resource<StringResource>), Drawable(Resource<DrawableResource>), Xml(Resource<XmlResource>), Style(Resource<StyleResource>), }
Expand description
Enum used when the value can be any of available resources.
Variants
String(Resource<StringResource>)
Drawable(Resource<DrawableResource>)
Xml(Resource<XmlResource>)
Style(Resource<StyleResource>)
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 AnyResource
impl Send for AnyResource
impl Sync for AnyResource
impl Unpin for AnyResource
impl UnwindSafe for AnyResource
Blanket Implementations
Mutably borrows from an owned value. Read more