pub struct BreakableString {
pub span: Span,
pub components: Vec<BreakableStringComponent>,
}Expand description
A Docker string that may be broken across several lines, separated by line
continuations (\\\n), and possibly intermixed with comments.
Fields§
§span: Span§components: Vec<BreakableStringComponent>Trait Implementations§
Source§impl Clone for BreakableString
impl Clone for BreakableString
Source§fn clone(&self) -> BreakableString
fn clone(&self) -> BreakableString
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BreakableString
impl Debug for BreakableString
impl Eq for BreakableString
Source§impl Ord for BreakableString
impl Ord for BreakableString
Source§fn cmp(&self, other: &BreakableString) -> Ordering
fn cmp(&self, other: &BreakableString) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BreakableString
impl PartialEq for BreakableString
Source§fn eq(&self, other: &BreakableString) -> bool
fn eq(&self, other: &BreakableString) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BreakableString
impl PartialOrd for BreakableString
impl StructuralPartialEq for BreakableString
Auto Trait Implementations§
impl Freeze for BreakableString
impl RefUnwindSafe for BreakableString
impl Send for BreakableString
impl Sync for BreakableString
impl Unpin for BreakableString
impl UnsafeUnpin for BreakableString
impl UnwindSafe for BreakableString
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.