[][src]Enum lrl_test_compiler::result::stringable::Stringable

pub enum Stringable {
    StrVal(&'static str),
    StringVal(String),
    BoxedVal(Box<dyn Display>),
}

A Stringable is simply a value that can be converted into a String This type supports heap allocated strings, string slices, and heap allocated values that support display

Variants

StrVal(&'static str)
StringVal(String)
BoxedVal(Box<dyn Display>)

Trait Implementations

impl Debug for Stringable[src]

impl Display for Stringable[src]

impl Eq for Stringable[src]

impl From<&'static str> for Stringable[src]

impl<T> From<Box<T, Global>> for Stringable where
    T: Display + 'static, 
[src]

impl From<Box<dyn Display + 'static, Global>> for Stringable[src]

impl From<Error> for Stringable[src]

impl From<Error> for Stringable[src]

impl From<ParseIntError> for Stringable[src]

impl From<String> for Stringable[src]

impl Hash for Stringable[src]

impl PartialEq<Stringable> for Stringable[src]

Auto Trait Implementations

impl !RefUnwindSafe for Stringable

impl !Send for Stringable

impl !Sync for Stringable

impl Unpin for Stringable

impl !UnwindSafe for Stringable

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

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

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]