Struct tugger_apple_bundle::DirectoryBundleFile[][src]

pub struct DirectoryBundleFile<'a> { /* fields omitted */ }

Represents a file in a DirectoryBundle.

Implementations

impl<'a> DirectoryBundleFile<'a>[src]

pub fn absolute_path(&self) -> &Path[src]

Absolute path to this file.

pub fn relative_path(&self) -> &Path[src]

Relative path within the bundle to this file.

pub fn is_info_plist(&self) -> bool[src]

Whether this is the Info.plist file.

pub fn is_main_executable(&self) -> Result<bool>[src]

Whether this is the main executable for the bundle.

pub fn is_in_code_signature_directory(&self) -> bool[src]

Whether this file is in the code signature directory.

Obtain the symlink target for this file.

If None, the file is not a symlink.

Auto Trait Implementations

impl<'a> RefUnwindSafe for DirectoryBundleFile<'a>

impl<'a> Send for DirectoryBundleFile<'a>

impl<'a> Sync for DirectoryBundleFile<'a>

impl<'a> Unpin for DirectoryBundleFile<'a>

impl<'a> UnwindSafe for DirectoryBundleFile<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.