RemoveFnl

Trait RemoveFnl 

Source
pub trait RemoveFnl {
    type Output;

    // Required method
    fn remove_fnl(&self) -> Self::Output;
}
Expand description

This trait defines a method for removing the first and last entries within an entity.

Typically, this is used to remove the first and last characters of a string, such as a quote or a parenthesis.

Required Associated Types§

Required Methods§

Source

fn remove_fnl(&self) -> Self::Output

Implementations on Foreign Types§

Source§

impl RemoveFnl for String

Source§

impl<'a> RemoveFnl for &'a str

Source§

type Output = &'a str

Source§

fn remove_fnl(&self) -> Self::Output

Implementors§