[][src]Struct liquid_lib::stdlib::Lstrip

pub struct Lstrip;

Removes all whitespaces (tabs, spaces, and newlines) from the beginning of a string.

The filter does not affect spaces between words. Note that while this works for the case of tabs, spaces, and newlines, it also removes any other codepoints defined by the Unicode Derived Core Property White_Space (per rust documentation.

Trait Implementations

impl Clone for Lstrip[src]

impl FilterReflection for Lstrip[src]

impl ParseFilter for Lstrip[src]

Auto Trait Implementations

impl RefUnwindSafe for Lstrip

impl Send for Lstrip

impl Sync for Lstrip

impl Unpin for Lstrip

impl UnwindSafe for Lstrip

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> CloneAny for T where
    T: Clone + Any

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

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

impl<T> ParseFilterClone for T where
    T: 'static + ParseFilter + Clone

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.