[−][src]Struct jimage::VisitParams
The parameters to File::visit
Methods
impl<'file> VisitParams<'file>
[src]
pub fn module_name_cstr(&self) -> &'file CStr
[src]
The module name (e.g. "java.base"
)
pub fn version_cstr(&self) -> &'file CStr
[src]
The module version (e.g. "9"
or "9.0"
)
pub fn package_cstr(&self) -> &'file CStr
[src]
The package (e.g. "java/lang"
)
pub fn name_cstr(&self) -> &'file CStr
[src]
The name (e.g. "OuterClass$InnerClass"
)
pub fn extension_cstr(&self) -> &'file CStr
[src]
The file extension (e.g. "class"
)
pub fn module_name(&self) -> Result<&'file str>
[src]
The module name (e.g. "java.base"
)
pub fn version(&self) -> Result<&'file str>
[src]
The module version (e.g. "9"
or "9.0"
)
pub fn package(&self) -> Result<&'file str>
[src]
The package (e.g. "java/lang"
)
pub fn name(&self) -> Result<&'file str>
[src]
The name (e.g. "OuterClass$InnerClass"
)
pub fn extension(&self) -> Result<&'file str>
[src]
The file extension (e.g. "class"
)
pub fn resource(&self) -> Result<Resource<'file>>
[src]
Get a resource handle allowing you to read the file in question
Auto Trait Implementations
impl<'file> RefUnwindSafe for VisitParams<'file>
impl<'file> !Send for VisitParams<'file>
impl<'file> !Sync for VisitParams<'file>
impl<'file> Unpin for VisitParams<'file>
impl<'file> UnwindSafe for VisitParams<'file>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,