pub enum SubFileRef {
ResolvedRef(SourceFileRef),
UnresolvedRef(String),
}Expand description
Reference to a sub-file from inside another file.
Variants§
ResolvedRef(SourceFileRef)
Resolved reference pointing to the given loaded/parsed sub-file.
UnresolvedRef(String)
Unresolved reference containing the raw reference filename.
Trait Implementations§
Source§impl Debug for SubFileRef
impl Debug for SubFileRef
Source§impl PartialEq for SubFileRef
impl PartialEq for SubFileRef
impl StructuralPartialEq for SubFileRef
Auto Trait Implementations§
impl Freeze for SubFileRef
impl RefUnwindSafe for SubFileRef
impl Send for SubFileRef
impl Sync for SubFileRef
impl Unpin for SubFileRef
impl UnwindSafe for SubFileRef
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