[][src]Struct abxml::model::owned::ConfigurationBuf

pub struct ConfigurationBuf {
    size: u32,
    original_size: u32,
    mcc: u16,
    mnc: u16,
    language: String,
    region: String,
    orientation: u8,
    touchscreen: u8,
    density: u16,
    keyboard: u8,
    navigation: u8,
    input_flags: u8,
    width: u16,
    height: u16,
    sdk_version: u16,
    min_sdk_version: u16,
    screen_layout: u8,
    ui_mode: u8,
    smallest_screen: u16,
    screen_width_dp: u16,
    screen_height_dp: u16,
    locale_script: Option<String>,
    locale_variant: Option<String>,
    secondary_screen_layout: Option<u8>,
}

Fields

size: u32original_size: u32mcc: u16mnc: u16language: Stringregion: Stringorientation: u8touchscreen: u8density: u16keyboard: u8navigation: u8input_flags: u8width: u16height: u16sdk_version: u16min_sdk_version: u16screen_layout: u8ui_mode: u8smallest_screen: u16screen_width_dp: u16screen_height_dp: u16locale_script: Option<String>locale_variant: Option<String>secondary_screen_layout: Option<u8>

Methods

impl ConfigurationBuf[src]

pub fn to_vec(&self) -> Result<Vec<u8>, Error>[src]

pub fn from_cursor(buffer: Vec<u8>) -> Result<Self, Error>[src]

Trait Implementations

impl Configuration for ConfigurationBuf[src]

impl Default for ConfigurationBuf[src]

impl Clone for ConfigurationBuf[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for ConfigurationBuf[src]

Auto Trait Implementations

impl Unpin for ConfigurationBuf

impl Sync for ConfigurationBuf

impl Send for ConfigurationBuf

impl UnwindSafe for ConfigurationBuf

impl RefUnwindSafe for ConfigurationBuf

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]