[][src]Enum dockerfile_parser::BreakableStringComponent

pub enum BreakableStringComponent {
    String(SpannedString),
    Comment(SpannedComment),
}

A component of a breakable string.

Variants

Trait Implementations

impl Clone for BreakableStringComponent[src]

impl Debug for BreakableStringComponent[src]

impl Eq for BreakableStringComponent[src]

impl<'_> From<((usize, usize), &'_ str)> for BreakableStringComponent[src]

impl From<SpannedComment> for BreakableStringComponent[src]

impl From<SpannedString> for BreakableStringComponent[src]

impl Ord for BreakableStringComponent[src]

impl PartialEq<BreakableStringComponent> for BreakableStringComponent[src]

impl PartialOrd<BreakableStringComponent> for BreakableStringComponent[src]

impl StructuralEq for BreakableStringComponent[src]

impl StructuralPartialEq for BreakableStringComponent[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> From<T> for T[src]

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

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.