Struct broot::skin::SkinEntry[][src]

pub struct SkinEntry { /* fields omitted */ }

parsed content of a [skin] line of the conf.toml file

Implementations

impl SkinEntry[src]

pub fn new(focused: CompoundStyle, unfocused: Option<CompoundStyle>) -> Self[src]

pub fn get_focused(&self) -> &CompoundStyle[src]

pub fn get_unfocused(&self) -> &CompoundStyle[src]

pub fn parse(s: &str) -> Result<Self, InvalidSkinError>[src]

parse a string representation of a skin entry.

The general form is either “” or “ / ”: It may be just the focused compound_style, or both the focused and the unfocused ones, in which case there’s a ‘/’ as separator.

Each part is “ ” where the attributes list may be empty.

Trait Implementations

impl Clone for SkinEntry[src]

impl Debug for SkinEntry[src]

impl<'de> Deserialize<'de> for SkinEntry[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,