#[non_exhaustive]pub struct ResourceRow {
pub id: u32,
pub name: String,
pub config: String,
pub value: String,
}Expand description
One resource matching a Engine::search_resources query.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: u32The resource id (0xPPTTEEEE).
name: Stringtype/name (or package:type/name outside the app package).
config: StringQualifier string, empty for the default configuration.
value: StringThe value as ResTable::format_entry renders it.
Implementations§
Trait Implementations§
Source§impl Clone for ResourceRow
impl Clone for ResourceRow
Source§impl Debug for ResourceRow
impl Debug for ResourceRow
Source§impl PartialEq for ResourceRow
impl PartialEq for ResourceRow
impl StructuralPartialEq for ResourceRow
Auto Trait Implementations§
impl Forget for ResourceRow
impl Freeze for ResourceRow
impl Move for ResourceRow
impl RefUnwindSafe for ResourceRow
impl Send for ResourceRow
impl Sync for ResourceRow
impl Unpin for ResourceRow
impl UnsafeUnpin for ResourceRow
impl UnwindSafe for ResourceRow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more