pub struct UI { /* private fields */ }Expand description
Wrapper around the simctl ui subcommand.
Implementations§
Source§impl UI
impl UI
Sourcepub fn appearance(&self) -> Result<Appearance>
pub fn appearance(&self) -> Result<Appearance>
Returns the current appearance of the UI of this device. Returns
Appearance::Custom if the device doesn’t support
changing its appearance.
Sourcepub fn set_appearance(&self, appearance: Appearance) -> Result<()>
pub fn set_appearance(&self, appearance: Appearance) -> Result<()>
Sets the current appearance of the UI of this device.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UI
impl RefUnwindSafe for UI
impl Send for UI
impl Sync for UI
impl Unpin for UI
impl UnwindSafe for UI
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