Struct dockerfile_parser::SpannedString
source · [−]Expand description
A string with a character span.
Fields
span: Spancontent: StringTrait Implementations
sourceimpl AsRef<str> for SpannedString
impl AsRef<str> for SpannedString
sourceimpl Clone for SpannedString
impl Clone for SpannedString
sourcefn clone(&self) -> SpannedString
fn clone(&self) -> SpannedString
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SpannedString
impl Debug for SpannedString
sourceimpl Display for SpannedString
impl Display for SpannedString
sourceimpl From<SpannedString> for BreakableStringComponent
impl From<SpannedString> for BreakableStringComponent
sourcefn from(s: SpannedString) -> Self
fn from(s: SpannedString) -> Self
Converts to this type from the input type.
sourceimpl Ord for SpannedString
impl Ord for SpannedString
sourceimpl PartialEq<SpannedString> for SpannedString
impl PartialEq<SpannedString> for SpannedString
sourcefn eq(&self, other: &SpannedString) -> bool
fn eq(&self, other: &SpannedString) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SpannedString) -> bool
fn ne(&self, other: &SpannedString) -> bool
This method tests for !=.
sourceimpl PartialOrd<SpannedString> for SpannedString
impl PartialOrd<SpannedString> for SpannedString
sourcefn partial_cmp(&self, other: &SpannedString) -> Option<Ordering>
fn partial_cmp(&self, other: &SpannedString) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Eq for SpannedString
impl StructuralEq for SpannedString
impl StructuralPartialEq for SpannedString
Auto Trait Implementations
impl RefUnwindSafe for SpannedString
impl Send for SpannedString
impl Sync for SpannedString
impl Unpin for SpannedString
impl UnwindSafe for SpannedString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more