Struct ndk::configuration::DiffResult
source · pub struct DiffResult(pub u32);
Expand description
A bitfield representing the differences between two Configuration
s
Tuple Fields§
§0: u32
Implementations§
source§impl DiffResult
impl DiffResult
pub fn mcc(self) -> bool
pub fn mnc(self) -> bool
pub fn locale(self) -> bool
pub fn touchscreen(self) -> bool
pub fn keyboard(self) -> bool
pub fn orientation(self) -> bool
pub fn density(self) -> bool
pub fn screen_size(self) -> bool
pub fn version(self) -> bool
pub fn screen_layout(self) -> bool
pub fn ui_mode(self) -> bool
pub fn smallest_screen_size(self) -> bool
pub fn layout_dir(self) -> bool
pub fn screen_round(self) -> bool
pub fn color_mode(self) -> bool
Trait Implementations§
source§impl Clone for DiffResult
impl Clone for DiffResult
source§fn clone(&self) -> DiffResult
fn clone(&self) -> DiffResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DiffResult
impl Debug for DiffResult
source§impl PartialEq for DiffResult
impl PartialEq for DiffResult
source§fn eq(&self, other: &DiffResult) -> bool
fn eq(&self, other: &DiffResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DiffResult
impl Eq for DiffResult
impl StructuralPartialEq for DiffResult
Auto Trait Implementations§
impl Freeze for DiffResult
impl RefUnwindSafe for DiffResult
impl Send for DiffResult
impl Sync for DiffResult
impl Unpin for DiffResult
impl UnwindSafe for DiffResult
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