pub enum SmaliToken {
SourceInfo(StrRef),
Raw(ConstStr),
Op(ConstStr),
LineStartOffsetMarker {
offset: Option<u32>,
raw: String,
},
Offset {
relative: i32,
absolute: u32,
},
Register(u16),
RegisterRange(u16, u16),
Descriptor(StrRef),
Literal(StrRef),
Other(StrRef),
}Variants§
SourceInfo(StrRef)
Raw(ConstStr)
Op(ConstStr)
LineStartOffsetMarker
Offset
Register(u16)
RegisterRange(u16, u16)
Descriptor(StrRef)
Literal(StrRef)
Other(StrRef)
Implementations§
Trait Implementations§
Source§impl Clone for SmaliToken
impl Clone for SmaliToken
Source§fn clone(&self) -> SmaliToken
fn clone(&self) -> SmaliToken
Returns a copy 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 moreSource§impl Debug for SmaliToken
impl Debug for SmaliToken
Source§impl Hash for SmaliToken
impl Hash for SmaliToken
Source§impl PartialEq for SmaliToken
impl PartialEq for SmaliToken
impl Eq for SmaliToken
impl StructuralPartialEq for SmaliToken
Auto Trait Implementations§
impl Freeze for SmaliToken
impl RefUnwindSafe for SmaliToken
impl Send for SmaliToken
impl Sync for SmaliToken
impl Unpin for SmaliToken
impl UnwindSafe for SmaliToken
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