#[repr(C)]pub struct ResourceManager_Configuration {
pub direction: ResourceManager_Direction,
pub locale: *mut c_char,
pub deviceType: ResourceManager_DeviceType,
pub screenDensity: ScreenDensity,
pub colorMode: ResourceManager_ColorMode,
pub mcc: u32,
pub mnc: u32,
pub reserved: [u32; 20],
}Expand description
@brief Enumerates device configuration.
@since 12
Fields§
§direction: ResourceManager_DirectionIndicates the screen direction of the current device.
locale: *mut c_charIndicates the current system language, for example, zh-Hans-CN.
deviceType: ResourceManager_DeviceTypeIndicates the device type.
screenDensity: ScreenDensityIndicates the screen density.
colorMode: ResourceManager_ColorModeIndicates the color mode.
mcc: u32Indicates the mcc.
mnc: u32Indicates the mnc.
reserved: [u32; 20]Reserved attributes.
Trait Implementations§
Source§impl Clone for ResourceManager_Configuration
impl Clone for ResourceManager_Configuration
Source§fn clone(&self) -> ResourceManager_Configuration
fn clone(&self) -> ResourceManager_Configuration
Returns a duplicate 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 moreimpl Copy for ResourceManager_Configuration
Auto Trait Implementations§
impl Freeze for ResourceManager_Configuration
impl RefUnwindSafe for ResourceManager_Configuration
impl !Send for ResourceManager_Configuration
impl !Sync for ResourceManager_Configuration
impl Unpin for ResourceManager_Configuration
impl UnsafeUnpin for ResourceManager_Configuration
impl UnwindSafe for ResourceManager_Configuration
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