pub struct List { /* private fields */ }Expand description
Wrapper around the simctl list subcommand’s output.
Implementations§
Source§impl List
impl List
Sourcepub fn device_types(&self) -> &[DeviceType]
pub fn device_types(&self) -> &[DeviceType]
Returns all device types that have been registered with simctl.
Sourcepub fn runtimes(&self) -> &[Runtime]
pub fn runtimes(&self) -> &[Runtime]
Returns all runtimes that have been registered with simctl.
Sourcepub fn pairs(&self) -> &[DevicePair]
pub fn pairs(&self) -> &[DevicePair]
Returns all device pairs that have been registered with simctl.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
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