[−][src]Struct super_analyzer_core::static_analysis::manifest::Manifest
Manifest analysis representation structure.
Fields
code: Stringpackage: Stringlabel: Stringdescription: Stringallows_backup: boolhas_code: boollarge_heap: boolinstall_location: InstallLocationpermissions: PermissionChecklistdebug: boolmin_sdk: u32target_sdk: Option<u32>version_number: u32version_str: StringMethods
impl Manifest[src]
pub fn load<P: AsRef<Path>, S: AsRef<str>>(
path: P,
config: &Config,
package: S,
results: &mut Results
) -> Result<Self, Error>[src]
path: P,
config: &Config,
package: S,
results: &mut Results
) -> Result<Self, Error>
Loads the given manifest in memory and analyzes it.
fn parse_manifest_attributes<A>(&mut self, attributes: A) where
A: IntoIterator<Item = OwnedAttribute>, [src]
A: IntoIterator<Item = OwnedAttribute>,
fn parse_sdk_attributes<A>(&mut self, attributes: A) where
A: IntoIterator<Item = OwnedAttribute>, [src]
A: IntoIterator<Item = OwnedAttribute>,
fn parse_application_attributes<A, S>(
&mut self,
attributes: A,
config: &Config,
package: S
) where
A: IntoIterator<Item = OwnedAttribute>,
S: AsRef<str>, [src]
&mut self,
attributes: A,
config: &Config,
package: S
) where
A: IntoIterator<Item = OwnedAttribute>,
S: AsRef<str>,
fn parse_permission_attributes<A>(
&mut self,
attributes: A,
config: &Config,
results: &mut Results
) where
A: IntoIterator<Item = OwnedAttribute>, [src]
&mut self,
attributes: A,
config: &Config,
results: &mut Results
) where
A: IntoIterator<Item = OwnedAttribute>,
fn check_exported_attributes<A>(
&mut self,
tag: &str,
attributes: A,
config: &Config,
results: &mut Results
) where
A: IntoIterator<Item = OwnedAttribute>, [src]
&mut self,
tag: &str,
attributes: A,
config: &Config,
results: &mut Results
) where
A: IntoIterator<Item = OwnedAttribute>,
fn set_code<S: Into<String>>(&mut self, code: S)[src]
pub fn code(&self) -> &str[src]
pub fn package(&self) -> &str[src]
fn set_package<S: Into<String>>(&mut self, package: S)[src]
pub fn version_number(&self) -> u32[src]
fn set_version_number(&mut self, version_number: u32)[src]
pub fn version_str(&self) -> &str[src]
fn set_version_str<S: Into<String>>(&mut self, version_str: S)[src]
pub fn label(&self) -> &str[src]
fn set_label<S: Into<String>>(&mut self, label: S)[src]
pub fn description(&self) -> &str[src]
fn set_description<S: Into<String>>(&mut self, description: S)[src]
pub fn min_sdk(&self) -> u32[src]
pub fn set_min_sdk(&mut self, min_sdk: u32)[src]
pub fn target_sdk(&self) -> Option<u32>[src]
pub fn set_target_sdk(&mut self, target_sdk: u32)[src]
fn set_has_code(&mut self)[src]
pub fn allows_backup(&self) -> bool[src]
fn set_allows_backup(&mut self)[src]
pub fn needs_large_heap(&self) -> bool[src]
fn set_large_heap(&mut self)[src]
fn set_install_location(&mut self, install_location: InstallLocation)[src]
pub fn is_debug(&self) -> bool[src]
fn set_debug(&mut self)[src]
pub fn permission_checklist(&self) -> &PermissionChecklist[src]
Trait Implementations
Auto Trait Implementations
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnwindSafe for Manifest
impl RefUnwindSafe for Manifest
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Same<T> for T[src]
type Output = T
Should always be Self