pub struct SmaliTokensBuilder(/* private fields */);
Implementations§
Source§impl SmaliTokensBuilder
impl SmaliTokensBuilder
pub fn new() -> Self
pub fn push(self, token: SmaliToken) -> Self
pub fn append(self, tokens: Vec<SmaliToken>) -> Self
pub fn raw(self, raw: ConstStr) -> Self
pub fn s(self) -> SmaliNode
pub fn s_with_children(self, children: Vec<SmaliNode>) -> SmaliNode
pub fn into_smali( self, children: Vec<SmaliNode>, postfix: ConstStr, ) -> SmaliNode
pub fn op(self, op: ConstStr) -> Self
pub fn off(self, current: impl Into<u32>, relative: impl Into<i32>) -> Self
pub fn v(self, reg: impl Into<u16>) -> Self
pub fn vr(self, start: impl Into<u16>, end: impl Into<u16>) -> Self
pub fn mn(self, name: StrRef) -> Self
pub fn d(self, desc: StrRef) -> Self
pub fn l(self, lit: StrRef) -> Self
pub fn other(self, other: StrRef) -> Self
Auto Trait Implementations§
impl Freeze for SmaliTokensBuilder
impl RefUnwindSafe for SmaliTokensBuilder
impl Send for SmaliTokensBuilder
impl Sync for SmaliTokensBuilder
impl Unpin for SmaliTokensBuilder
impl UnwindSafe for SmaliTokensBuilder
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