pub struct ExtendsReference { /* private fields */ }Expand description
A long service extends reference mapping.
Implementations§
Source§impl ExtendsReference
impl ExtendsReference
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete authored long-form mapping span.
Sourcepub const fn service(&self) -> Option<&Located<String>>
pub const fn service(&self) -> Option<&Located<String>>
Returns the raw referenced service without resolution.
Sourcepub const fn file(&self) -> Option<&Located<String>>
pub const fn file(&self) -> Option<&Located<String>>
Returns the raw referenced file without path access.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained x-* members.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns retained unknown or malformed members.
Trait Implementations§
Source§impl Clone for ExtendsReference
impl Clone for ExtendsReference
Source§fn clone(&self) -> ExtendsReference
fn clone(&self) -> ExtendsReference
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 ExtendsReference
impl Debug for ExtendsReference
impl Eq for ExtendsReference
Source§impl PartialEq for ExtendsReference
impl PartialEq for ExtendsReference
impl StructuralPartialEq for ExtendsReference
Auto Trait Implementations§
impl Freeze for ExtendsReference
impl RefUnwindSafe for ExtendsReference
impl Send for ExtendsReference
impl Sync for ExtendsReference
impl Unpin for ExtendsReference
impl UnsafeUnpin for ExtendsReference
impl UnwindSafe for ExtendsReference
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