[][src]Struct broot::display::PermWriter

pub struct PermWriter<'s> {
    pub skin: &'s StyleMap,
    // some fields omitted
}

an object which writes file permissions (mode, owner, group)

Fields

skin: &'s StyleMap

Implementations

impl<'s> PermWriter<'s>[src]

pub fn new(
    skin: &'s StyleMap,
    max_user_len: usize,
    max_group_len: usize
) -> Self
[src]

pub fn for_tree(skin: &'s StyleMap, tree: &Tree) -> Self[src]

pub fn write_permissions<'w, W: Write>(
    &self,
    cw: &mut CropWriter<'w, W>,
    line: &TreeLine,
    selected: bool
) -> Result<usize, ProgramError>
[src]

Auto Trait Implementations

impl<'s> RefUnwindSafe for PermWriter<'s>

impl<'s> Send for PermWriter<'s>

impl<'s> Sync for PermWriter<'s>

impl<'s> Unpin for PermWriter<'s>

impl<'s> UnwindSafe for PermWriter<'s>

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.