Struct dockerfile_parser::SpannedComment
source · [−]Expand description
A comment with a character span.
Fields
span: Spancontent: StringTrait Implementations
sourceimpl Clone for SpannedComment
impl Clone for SpannedComment
sourcefn clone(&self) -> SpannedComment
fn clone(&self) -> SpannedComment
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 SpannedComment
impl Debug for SpannedComment
sourceimpl From<SpannedComment> for BreakableStringComponent
impl From<SpannedComment> for BreakableStringComponent
sourcefn from(c: SpannedComment) -> Self
fn from(c: SpannedComment) -> Self
Converts to this type from the input type.
sourceimpl Ord for SpannedComment
impl Ord for SpannedComment
sourceimpl PartialEq<SpannedComment> for SpannedComment
impl PartialEq<SpannedComment> for SpannedComment
sourcefn eq(&self, other: &SpannedComment) -> bool
fn eq(&self, other: &SpannedComment) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SpannedComment) -> bool
fn ne(&self, other: &SpannedComment) -> bool
This method tests for !=.
sourceimpl PartialOrd<SpannedComment> for SpannedComment
impl PartialOrd<SpannedComment> for SpannedComment
sourcefn partial_cmp(&self, other: &SpannedComment) -> Option<Ordering>
fn partial_cmp(&self, other: &SpannedComment) -> 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 SpannedComment
impl StructuralEq for SpannedComment
impl StructuralPartialEq for SpannedComment
Auto Trait Implementations
impl RefUnwindSafe for SpannedComment
impl Send for SpannedComment
impl Sync for SpannedComment
impl Unpin for SpannedComment
impl UnwindSafe for SpannedComment
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