Struct AdbShellAm

Source
pub struct AdbShellAm { /* private fields */ }

Implementations§

Source§

impl AdbShellAm

Source

pub fn new() -> Self

Source

pub fn d(&mut self, d: bool) -> &mut Self

Source

pub fn w(&mut self, w: bool) -> &mut Self

Source

pub fn p(&mut self, p: &Path) -> &mut Self

Source

pub fn r(&mut self, r: bool) -> &mut Self

Source

pub fn s(&mut self, s: bool) -> &mut Self

Source

pub fn n(&mut self, n: bool) -> &mut Self

Source

pub fn user(&mut self, user: String) -> &mut Self

Source

pub fn opengl_trace(&mut self, opengl_trace: bool) -> &mut Self

Source

pub fn start_profiler(&mut self, start_profiler: &Path) -> &mut Self

Source

pub fn start(&mut self, start: bool) -> &mut Self

Source

pub fn startservice(&mut self, startservice: bool) -> &mut Self

Source

pub fn force_stop(&mut self, force_stop: &Path) -> &mut Self

Source

pub fn kill(&mut self, kill: &Path) -> &mut Self

Source

pub fn kill_all(&mut self, kill_all: bool) -> &mut Self

Source

pub fn broadcast(&mut self, broadcast: String) -> &mut Self

Source

pub fn instrument(&mut self, instrument: bool) -> &mut Self

Source

pub fn no_window_animation(&mut self, no_window_animation: bool) -> &mut Self

Source

pub fn profile_start(&mut self, profile_start: &Path) -> &mut Self

Source

pub fn profile_stop(&mut self, profile_stop: bool) -> &mut Self

Source

pub fn dumpheap(&mut self, dumpheap: &Path) -> &mut Self

Source

pub fn set_debug_app(&mut self, set_debug_app: &Path) -> &mut Self

Source

pub fn persistent(&mut self, persistent: bool) -> &mut Self

Source

pub fn clear_debug_app(&mut self, clear_debug_app: bool) -> &mut Self

Source

pub fn monitor(&mut self, monitor: bool) -> &mut Self

Source

pub fn gdb(&mut self, gdb: bool) -> &mut Self

Source

pub fn screen_compat( &mut self, screen_compat: ScreenCompatibilityMode, ) -> &mut Self

Source

pub fn display_size(&mut self, display_size: String) -> &mut Self

Source

pub fn display_density(&mut self, display_density: String) -> &mut Self

Source

pub fn to_uri(&mut self, to_uri: bool) -> &mut Self

Source

pub fn to_intent_uri(&mut self, to_intent_uri: bool) -> &mut Self

Source

pub fn run(&self) -> Result<()>

Trait Implementations§

Source§

impl Clone for AdbShellAm

Source§

fn clone(&self) -> AdbShellAm

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for AdbShellAm

Source§

fn default() -> AdbShellAm

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.