pub struct LabelFiles { /* private fields */ }Expand description
An authored service label_file value with its scalar or list form retained.
Implementations§
Source§impl LabelFiles
impl LabelFiles
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete authored field-value span.
Sourcepub const fn form(&self) -> &LabelFilesForm
pub const fn form(&self) -> &LabelFilesForm
Returns the exact scalar or ordered-list form without reading label files.
Sourcepub fn unmodeled_items(&self) -> &[SourceSpan]
pub fn unmodeled_items(&self) -> &[SourceSpan]
Returns spans for malformed list items retained in the syntax document.
Trait Implementations§
Source§impl Clone for LabelFiles
impl Clone for LabelFiles
Source§fn clone(&self) -> LabelFiles
fn clone(&self) -> LabelFiles
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 LabelFiles
impl Debug for LabelFiles
impl Eq for LabelFiles
Source§impl PartialEq for LabelFiles
impl PartialEq for LabelFiles
impl StructuralPartialEq for LabelFiles
Auto Trait Implementations§
impl Freeze for LabelFiles
impl RefUnwindSafe for LabelFiles
impl Send for LabelFiles
impl Sync for LabelFiles
impl Unpin for LabelFiles
impl UnsafeUnpin for LabelFiles
impl UnwindSafe for LabelFiles
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