pub struct Qualifier {
pub key: QualifierKey,
pub value: u32,
}Expand description
One key of a qualifier set with its stored value.
Fields§
§key: QualifierKey§value: u32The stored number: packed letters for language, script and region, dots per inch for density, an enumerator for the rest.
Trait Implementations§
impl Copy for Qualifier
Source§impl Display for Qualifier
The value as it is spelled in a resource directory name: zh, CN,
dark, xldpi, mcc460. A value without a spelling is
<key>=<number>.
impl Display for Qualifier
The value as it is spelled in a resource directory name: zh, CN,
dark, xldpi, mcc460. A value without a spelling is
<key>=<number>.
impl Eq for Qualifier
impl StructuralPartialEq for Qualifier
Auto Trait Implementations§
impl Forget for Qualifier
impl Freeze for Qualifier
impl Move for Qualifier
impl RefUnwindSafe for Qualifier
impl Send for Qualifier
impl Sync for Qualifier
impl Unpin for Qualifier
impl UnsafeUnpin for Qualifier
impl UnwindSafe for Qualifier
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