[−][src]Struct cargo_parcel::ManSource
Represents a manual page to be installed.
Methods
impl ManSource
[src]
pub fn section(&self) -> u8
[src]
The man page section.
pub fn target_file_name(&self) -> &str
[src]
Returns the target file name of the man page.
The returned path includes the suffix such as ".1" or ".3pm", and indicates the file name the man page should be installed as.
pub fn path(&self) -> &Path
[src]
Returns the path to the source file of the man page.
pub fn format(&self) -> ManSourceFormat
[src]
Returns the file format of the source file.
Trait Implementations
impl Clone for ManSource
[src]
impl Debug for ManSource
[src]
impl FromStr for ManSource
[src]
type Err = ParseManSourceError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl<'_> TryFrom<&'_ str> for ManSource
[src]
Auto Trait Implementations
impl RefUnwindSafe for ManSource
impl Send for ManSource
impl Sync for ManSource
impl Unpin for ManSource
impl UnwindSafe for ManSource
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,