[−][src]Struct abxml::chunks::ConfigurationWrapper
Fields
slice: &'a [u8]
Methods
impl<'a> ConfigurationWrapper<'a>
[src]
pub fn new(slice: &'a [u8]) -> Self
[src]
pub fn to_buffer(&self) -> Result<ConfigurationBuf, Error>
[src]
Trait Implementations
impl<'a> Configuration for ConfigurationWrapper<'a>
[src]
fn get_size(&self) -> Result<u32, Error>
[src]
fn get_mcc(&self) -> Result<u16, Error>
[src]
fn get_mnc(&self) -> Result<u16, Error>
[src]
fn get_language(&self) -> Result<String, Error>
[src]
fn get_region(&self) -> Result<String, Error>
[src]
fn get_orientation(&self) -> Result<u8, Error>
[src]
fn get_touchscreen(&self) -> Result<u8, Error>
[src]
fn get_density(&self) -> Result<u16, Error>
[src]
fn get_keyboard(&self) -> Result<u8, Error>
[src]
fn get_navigation(&self) -> Result<u8, Error>
[src]
fn get_input_flags(&self) -> Result<u8, Error>
[src]
fn get_width(&self) -> Result<u16, Error>
[src]
fn get_height(&self) -> Result<u16, Error>
[src]
fn get_sdk_version(&self) -> Result<u16, Error>
[src]
fn get_min_sdk_version(&self) -> Result<u16, Error>
[src]
fn get_screen_layout(&self) -> Result<u8, Error>
[src]
fn get_ui_mode(&self) -> Result<u8, Error>
[src]
fn get_smallest_screen(&self) -> Result<u16, Error>
[src]
fn get_screen_width(&self) -> Result<u16, Error>
[src]
fn get_screen_height(&self) -> Result<u16, Error>
[src]
fn get_locale_script(&self) -> Result<Option<String>, Error>
[src]
fn get_locale_variant(&self) -> Result<Option<String>, Error>
[src]
fn get_secondary_layout(&self) -> Result<Option<u8>, Error>
[src]
impl<'a> Debug for ConfigurationWrapper<'a>
[src]
Auto Trait Implementations
impl<'a> Unpin for ConfigurationWrapper<'a>
impl<'a> Sync for ConfigurationWrapper<'a>
impl<'a> Send for ConfigurationWrapper<'a>
impl<'a> UnwindSafe for ConfigurationWrapper<'a>
impl<'a> RefUnwindSafe for ConfigurationWrapper<'a>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,