#[non_exhaustive]pub enum IncludeSourceTarget {
File(PathBuf),
Uri(String),
}Expand description
A fully resolved include target presented to an IncludeSourceProvider.
The parser applies attribute substitution, relative-path resolution, and Safe/Server confinement before constructing this value. Providers therefore supply bytes; they do not reinterpret the document’s raw include target.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for IncludeSourceTarget
impl Clone for IncludeSourceTarget
Source§impl Debug for IncludeSourceTarget
impl Debug for IncludeSourceTarget
impl Eq for IncludeSourceTarget
Source§impl Hash for IncludeSourceTarget
impl Hash for IncludeSourceTarget
Source§impl PartialEq for IncludeSourceTarget
impl PartialEq for IncludeSourceTarget
impl StructuralPartialEq for IncludeSourceTarget
Auto Trait Implementations§
impl Freeze for IncludeSourceTarget
impl RefUnwindSafe for IncludeSourceTarget
impl Send for IncludeSourceTarget
impl Sync for IncludeSourceTarget
impl Unpin for IncludeSourceTarget
impl UnsafeUnpin for IncludeSourceTarget
impl UnwindSafe for IncludeSourceTarget
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